Threadpool基础知识 [英] Threadpool basic knowledge

查看:72
本文介绍了Threadpool基础知识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想问一些关于线程池的基本问题在c#



1)线程池可以同时处理多少线程

2)线程池依赖是否在处理器上

3)Threadpool的缺点即为什么我们不喜欢使用线程池

4)优点Threadpool即为什么我们更喜欢使用线程池



举例说明你的话(如果可能的话)

Hi,
I want to ask some basic question relating to threadpool in c#

1) How many threads can threadpool simultaneously handled
2) Is threadpool dependency is on processor
3) Demerit of Threadpool i.e why we don't prefer to use threadpool
4) Merit of Threadpool i.e why we prefer to use threadpool

Give an example to illustrate your words (if possible)

推荐答案

尝试使用谷歌,你可以从那里得到你的所有答案。这里有一些链接解释了更多关于线程池的信息。



http://msdn.microsoft.com/en-us/library/3dasc8as.aspx [ ^ ]



http://www.dotnetperls.com/threadpool [ ^ ]



用C#创建一个自定义ThreadPool [ ^ ]



智能线程池 [ ^ ]



http://stackoverflow.com/questions/145304/when-to-use-thread-pool-in-c [ ^ ]



HTTP:// ST ackoverflow.com/questions/435668/code-for-a-simple-thread-pool-in-c-sharp [ ^ ]





http://www.google.co.in/#bav=on.2,or.r_qf.&fp=1baaa612b535b51b&q=threadpool%20in%20c%23 [ ^ ]
Try to Use Google,You can get all your Answers from there.Here are few links which explains more about Thread Pool.

http://msdn.microsoft.com/en-us/library/3dasc8as.aspx[^]

http://www.dotnetperls.com/threadpool[^]

Create a Custom ThreadPool in C#[^]

Smart Thread Pool[^]

http://stackoverflow.com/questions/145304/when-to-use-thread-pool-in-c[^]

http://stackoverflow.com/questions/435668/code-for-a-simple-thread-pool-in-c-sharp[^]


http://www.google.co.in/#bav=on.2,or.r_qf.&fp=1baaa612b535b51b&q=threadpool%20in%20c%23[^]


这篇关于Threadpool基础知识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆