StackOverflow Questions for Tag: threadstatic

user3544160
user3544160

Reputation: 29

Why Initializing threadstatic attribute in Threadlocal delegate doesn't initilize it for the first thread?

Score: 2

Views: 391

Answers: 1

Read More
Mark McLaughlin
Mark McLaughlin

Reputation: 27

Thread Parameters change during thread execution - why?

Score: 1

Views: 2403

Answers: 3

Read More
joshperry
joshperry

Reputation: 42297

How does the ThreadStatic attribute work?

Score: 164

Views: 77690

Answers: 5

Read More
Fede
Fede

Reputation: 4016

What's the effect of AsyncLocal<T> in non async/await code?

Score: 29

Views: 10463

Answers: 2

Read More
Shane Courtrille
Shane Courtrille

Reputation: 14097

Is this a thread safe way to initialize a [ThreadStatic]?

Score: 10

Views: 2625

Answers: 2

Read More
Tanzeel
Tanzeel

Reputation: 51

Disposing thread static variable

Score: 4

Views: 1849

Answers: 2

Read More
Jay
Jay

Reputation: 3355

.Net Core 3.1.6 ThreadLocal / ThreadStatic

Score: -2

Views: 1806

Answers: 2

Read More
Justinus Hermawan
Justinus Hermawan

Reputation: 1214

Losing [ThreadStatic] value after calling a Task

Score: 2

Views: 850

Answers: 1

Read More
ripper234
ripper234

Reputation: 230316

How is Java's ThreadLocal implemented under the hood?

Score: 90

Views: 19028

Answers: 5

Read More
Anthony D
Anthony D

Reputation: 11247

ThreadStatic Modified with Static C#

Score: 54

Views: 14859

Answers: 3

Read More
Ashwin
Ashwin

Reputation: 141

How to maintain Thread context across async await model in C#?

Score: 11

Views: 10280

Answers: 2

Read More
gustav
gustav

Reputation: 129

ASP.NET MVC 5 - can the current thread change during single http request?

Score: 0

Views: 81

Answers: 1

Read More
Tarec
Tarec

Reputation: 3255

Initializing ThreadStatic field still causes NullReferenceException

Score: 54

Views: 11559

Answers: 2

Read More
test_user
test_user

Reputation: 69

Object reference error while instantiating non static class in multiple threads

Score: 0

Views: 296

Answers: 1

Read More
user967710
user967710

Reputation: 2007

Accessing ThreadStatic field from .NET profiler

Score: 7

Views: 169

Answers: 1

Read More
user2341923
user2341923

Reputation: 4727

ThreadStatic v.s. ThreadLocal<T>: is generic better than attribute?

Score: 111

Views: 43979

Answers: 3

Read More
Ajay B L
Ajay B L

Reputation: 1106

CallContext is carrying foreward the previous data which was set

Score: 4

Views: 830

Answers: 1

Read More
Emre Kabaoglu
Emre Kabaoglu

Reputation: 13146

C# Singleton Pattern Designs for ThreadStatic

Score: 5

Views: 1281

Answers: 2

Read More
Nico
Nico

Reputation: 181

ThreadStatic in asynchronous ASP.NET Web API

Score: 5

Views: 2173

Answers: 1

Read More
Mike Chamberlain
Mike Chamberlain

Reputation: 42520

ThreadStatic - Does a WCF method call execute exclusively on a single thread?

Score: 3

Views: 1706

Answers: 4

Read More
PreviousPage 1Next