Re: How do I know when my work threads have completed their tasks?
- From: Barry Kelly <barry.j.kelly@xxxxxxxxx>
- Date: Wed, 31 Jan 2007 22:20:27 +0000
Pucca wrote:
I'm using threadpool so I used AutoeventReset and it worked. Thank you very
much.
Be careful: many uses of AutoResetEvent have a race condition, where the
event is signaled before anything waits on it, thus causing deadlock
when threads do start waiting on it, having "missed the bus", as it
were.
-- Barry
--
http://barrkel.blogspot.com/
.
- References:
- Re: How do I know when my work threads have completed their tasks?
- From: Christof Nordiek
- Re: How do I know when my work threads have completed their tasks?
- From: Bruce Wood
- Re: How do I know when my work threads have completed their tasks?
- From: Pucca
- Re: How do I know when my work threads have completed their tasks?
- Prev by Date: Re: How do I know when my work threads have completed their tasks?
- Next by Date: Re: Vista, C#, and Regsvr32
- Previous by thread: Re: How do I know when my work threads have completed their tasks?
- Next by thread: C# inheritance broken?
- Index(es):