Timeline for Multi-threading in C# .NET Windows Service
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 3, 2011 at 6:16 | comment | added | Ankit Shah | I am reading few documents and learning threading stuff a lot... I have question regarding Thread Pool. 1) Is Thread Pool is good option for executing multiple network operations (Http post operations)? 2) How Thread Pool executes each Thread (i.e If i assign 10 operation to Thread Pool - does it starts all 10 operations at the same time or it works linearly (one by one) ) Thanks for help and support. | |
| Jun 2, 2011 at 13:14 | comment | added | Steven Evers | While I mostly agree, why would you suggest a custom thread pool instead of the .net thread pool? You can still use a semaphore for throttling. Also, do you have any reference material for the restriction of threads. For slightly long lived threads, I'm pretty sure >2 threads/cpu is not an issue but I could be completely wrong. | |
| Jun 2, 2011 at 8:55 | history | answered | gbjbaanb | CC BY-SA 3.0 |