net中使用本地线程

net中使用本地线程

本文介绍了在c#.net中使用本地线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从未使用过C#Inhetitable线程本地,但了解它们与Java Inhetitable线程本地大致等效.

如果继续,我需要知道什么?会是一样的吗?不同的?什么会咬我?

至于我的研究,我发现

.NET 4.0引入ThreadLocal

我只想知道哪个版本的dotnet支持它?

值得赞赏的是,如果我有任何样品或文件要阅读

等待您的宝贵答复和评论

I''ve never used C# Inhetitable thread local, but understand that they are the rough equivalent of Java Inhetitable thread local.

If I proceed what do I need to know? What''s going to be the same? Different? What''s going to bite me?

As for as my research i found that

.NET 4.0 introduced ThreadLocal

i just want to know which versions of dotnet supports it?

It is appreciated that if i got any samples or documents to read

Waiting for your valuable response and comments

推荐答案


这篇关于在c#.net中使用本地线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 18:36