Bug Vanquisher

16 March 2007

The way to TLS in CLR

Filed under: Tips — Tanveer Badar @ 7:14 PM

I dug up something about TLS access methods in CLR. Don’t use Thread class’s accessor methods, instead apply ThreadStatic attribute because it takes app-domain, even processor level locks. Read yourself.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: