Re: Simulate Thread.Join




On Aug 28, 5:38 pm, "Michael D. Ober" <obermd.@.alum.mit.edu.nospam>
wrote:

Can I add to the array while it's being waited on? My problem domain

If the number of workers changes while you wait, it sounds like you
don't need a Thread.Join at all, but rather some implementation of the
consumer/producer pattern:

http://www.yoda.arachsys.com/csharp/threads/deadlocks.shtml

.


Loading