>>>>> Mario Camou writes:
Mario> Carlos,
Mario> Your problem is with
Mario> Thread.currentThread().wait()/notifyAll(). Since your
Mario> method is synchronized, you own the monitor for "this", not
No. Since the the methods are 'synchronized' and 'static', he
owns the monitor for 'Cliente.class'
Juergen
--
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802
- Problems with Threads Carlos Alberto Roman Zamitiz
- Re: Problems with Threads zun
- Re: Problems with Threads (Code incl... Carlos Alberto Roman Zamitiz
- Re: Problems with Threads (Code ... Mario Camou
- Re: Problems with Threads (C... Juergen Kreileder
- Re: Problems with Threa... Christopher Hinds
- Re: Problems with Threads (Code ... zun
- Re: Problems with Threads (C... Christopher Hinds
- Re: Problems with Threa... Juergen Kreileder
- Re: Problems with T... zun
- Re: Problems with T... Christopher Hinds
