|
about wait and notify: msg#00145java.vm.kaffe.general
Hi to everyone, I've got a doubt about the behaviour of wait/notify methods at the JVM level. This doubt came in my mind after I noticed a misbehaving program which was using such methods. By the way here's the problem: running a program which executes a notify() call on a monitor, I noticed two different behavior between kaffe and sun JVM. While the former (1.0.5) executes rightly, that means suspend the notifier thread and resume waiting threads just after the notify call, the latter didn't: it continued the execution of the notifier thread untill re-schedulation. Now I'd like to know if this is true (i.e., the two JVMs act differently on thread synchronization) and is a design aspect. If so can anybody tell me why there's this difference? Thanks, Luca -- Luca Ferrari, fluca1978@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: GregorianCalendar fixes, Andreas Tobler |
|---|---|
| Next by Date: | Re: [GNU Crypto] Re: gnu-crypto.m4. was: new jalopy available, Raif S. Naffah |
| Previous by Thread: | Documentation, Gerlando Falauto |
| Next by Thread: | Re: about wait and notify, Chris Gray |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |