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: 2402

Answers: 3

Read More
joshperry
joshperry

Reputation: 42227

How does the ThreadStatic attribute work?

Score: 164

Views: 77441

Answers: 5

Read More
Fede
Fede

Reputation: 4016

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

Score: 29

Views: 10359

Answers: 2

Read More
Shane Courtrille
Shane Courtrille

Reputation: 14097

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

Score: 10

Views: 2623

Answers: 2

Read More
Tanzeel
Tanzeel

Reputation: 51

Disposing thread static variable

Score: 4

Views: 1834

Answers: 2

Read More
Jay
Jay

Reputation: 3355

.Net Core 3.1.6 ThreadLocal / ThreadStatic

Score: -2

Views: 1790

Answers: 2

Read More
Justinus Hermawan
Justinus Hermawan

Reputation: 1214

Losing [ThreadStatic] value after calling a Task

Score: 2

Views: 834

Answers: 1

Read More
ripper234
ripper234

Reputation: 229988

How is Java's ThreadLocal implemented under the hood?

Score: 90

Views: 18858

Answers: 5

Read More
Anthony D
Anthony D

Reputation: 11247

ThreadStatic Modified with Static C#

Score: 54

Views: 14840

Answers: 3

Read More
Ashwin
Ashwin

Reputation: 141

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

Score: 11

Views: 10234

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: 11516

Answers: 2

Read More
test_user
test_user

Reputation: 69

Object reference error while instantiating non static class in multiple threads

Score: 0

Views: 294

Answers: 1

Read More
user967710
user967710

Reputation: 2007

Accessing ThreadStatic field from .NET profiler

Score: 7

Views: 168

Answers: 1

Read More
user2341923
user2341923

Reputation: 4727

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

Score: 111

Views: 43879

Answers: 3

Read More
Ajay B L
Ajay B L

Reputation: 1096

CallContext is carrying foreward the previous data which was set

Score: 4

Views: 828

Answers: 1

Read More
Emre Kabaoglu
Emre Kabaoglu

Reputation: 13146

C# Singleton Pattern Designs for ThreadStatic

Score: 5

Views: 1274

Answers: 2

Read More
Nico
Nico

Reputation: 181

ThreadStatic in asynchronous ASP.NET Web API

Score: 5

Views: 2165

Answers: 1

Read More
Mike Chamberlain
Mike Chamberlain

Reputation: 42440

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

Score: 3

Views: 1705

Answers: 4

Read More
PreviousPage 1Next