一个SDET  
每个人都有梦想

2007年7月6日

摘要: 使用thread local storage可以将数据存储在线程的数据槽(data slot)中。数据只能被此线程访问。 1class Data 2{ 3 //Application data is stored here 4} 5 6Data appData = new Data(); 7 8Thread.SetData(Thread.GetNamedDataSlot("MyTestSl... 阅读全文
posted @ 2007-07-06 21:43 Ken_Cui 阅读(533) 评论(0) 推荐(0)