Do you know any way to suspend a particular thread and notify it on startup?
I would like to be able to do something like this:
thread Suspended + = delegate {// something}; Thread Re + representative {// do something else};
I suspect that this Net Framework has this capability, but is it possibly a technique to achieve with Pinovok? I should be able to do this with less overhead.
If you are committed to writing your own thread pool it probably does not help, but I Staying with the .NET ThreadPool class and try to tune it to be required with SetMaxThreads / SetMinThreads and GetMaxThreads / GetAvailableThreads. Is there any special reason that this is not enough?
I was in PDC last year and in some of which Duffy's talk of equality was very interesting. I remember that he was talking about providing an extensible thread pool class in NATT because MSFT usually finds that when people write their own thread pools and write they will work most of the time, one By providing extension mechanisms they were hoping that they limit the ability of the gods to be caught.
No comments:
Post a Comment