Re: Asynchronous socket operations and threadpool
- From: "William Stacey [MVP]" <william.stacey@xxxxxxxxx>
- Date: Fri, 3 Mar 2006 00:43:54 -0500
| Also, if you have sy 600 IOCP threads processing at once, there's really
no
| way to do other async operations - you can't use the .Net thread pool, as
it
| doesn't have enough threads. You certainly don't want to spin up hundreds
of
| your own threads, so pragmatically it's normally best to do things
| synchronously within the IOCP callback.
But if your returning after beginning the new async operation, then your
releasing the thread and another IOCP thread (or same one) will handle the
new callback. So you keep going. Am I wrong? Thanks for the links.
--
William Stacey [MVP]
.
- Follow-Ups:
- Re: Asynchronous socket operations and threadpool
- From: Chris Mullins
- Re: Asynchronous socket operations and threadpool
- References:
- Asynchronous socket operations and threadpool
- From: Yifan Li
- Re: Asynchronous socket operations and threadpool
- From: Chris Mullins
- Asynchronous socket operations and threadpool
- Prev by Date: Re: Bizarre behavior in design mode when inheriting from a form with a timer.
- Next by Date: Re: Asynchronous socket operations and threadpool
- Previous by thread: Re: Asynchronous socket operations and threadpool
- Next by thread: Re: Asynchronous socket operations and threadpool
- Index(es):