ThreadStatic attribute

Here is a handy little attribute:

[ThreadStatic]
private static int count;

This attribute allows you to create a separate static instance of "count" per thread.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Saturday, November 29, 2008 12:06 PM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910