|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Mike Sandersenus (msandersenus
YAHOO.COM)Date: Wed Mar 13 2002 - 13:07:11 CST
I have MTA threads from my IO Completion port pool
calling into an STA. I understand that the system
will release another thread beyond the maximum # of
concurrent threads you specify when you initialize the
pool if it detects that one of the active threads has
entered a wait state.
Can anyone tell me how COM suspends an MTA thread when
it makes a call into an STA (e.g., msgwait or event)
and whether the system considers that the kind of wait
for which it will release a thread beyond the number
specified by the user when they set up the io
completion port?
Let's say I specify the NumberOfConcurrentThreads to
be two and the number of threads in the pool is three.
Later, while two threads are active processing io
completion handlers, one of them calls into an STA and
is blocked. While that thread is blocked another IO
completes. Will the system dispatch the third
(waiting) thread in the pool?
Thanks
Mike
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]