I want to have 1 thread waiting for a notify() call on an object. Does anyone know would happen to that thread if notify() was called a number of times? would the notify() calls be "queued" in some way so that instead of going back to sleep the thread would continually wake up for as many times as notify was called? Thanks, Mike
Java EE Evangelist — Author, EJB 3 in Action 2nd Edition — Java Community Process Member
posted 14 years ago
notify() has no effect if there aren't waiting threads.