Re: How to synchronize 4 threads.




<jseidelREMOVECAPS@xxxxxxxxxxxx> wrote in message
news:rgt471lh74496a10coda3be20c7j4fecpi@xxxxxxxxxx
>
> I need to synchronize 4 different threads. I dont think wait() and
> notifyall() will work.

wait () and notifyall are perfectly fine. Rather, you're really going to
have to explain what you mean by "synchronize"

>
> Could someone explain how to do this?

Only after you tell us what you want it to do.

>
> Jerry

Cheers,
Matt Humphrey matth@xxxxxxxxxxxxxx http://www.iviz.com/


.



Relevant Pages

  • Re: How to synchronize 4 threads.
    ... > I need to synchronize 4 different threads. ... I dont think waitand ... > notifyall() will work. ... Prev by Date: ...
    (comp.lang.java)
  • How to synchronize 4 threads.
    ... I dont think waitand ... notifyall() will work. ... Jerry ... Prev by Date: ...
    (comp.lang.java.programmer)
  • How to synchronize 4 threads.
    ... I dont think waitand ... notifyall() will work. ... Jerry ... Prev by Date: ...
    (comp.lang.java)
  • Re: How to synchronize 4 threads.
    ... I dont think waitand ... > notifyall() will work. ... If by "synchronize" you mean you want each thread to ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: A threading problem
    ... I dont really care which thread the send and receive happens on, ... If you want to synchronize the two methods, ... The question you posted is confusing for a couple of reasons: ... it safe to assume that you actually create the OutputBuffer timer using ...
    (microsoft.public.dotnet.languages.csharp)