資源の読み込みに... 荷物...

全員に知らせる

notifyAll()この関数は,すべての待っていたスレッドを目覚めさせます.

全員に知らせる

参考になる例ThreadCondition.notify()この記事へのトラックバック一覧です.

notifyAll()この関数は,すべての待っていたスレッドを一つずつ呼び起こし,呼び起こされたスレッドがスレッドロックを再取得します.

{@fun/Threads/ThreadCondition/notify notify}, {@fun/Threads/ThreadCondition/wait wait}, {@fun/Threads/ThreadCondition/acquire acquire}, {@fun/Threads/ThreadCondition/release release}, {@fun/Threads/ThreadCondition/release release}, {@fun/Threads/ThreadCondition/release release}, {@fun/Threads/ThreadCondition/thread release}, {@fun/threads/threadCondition/thread release release}, {@fun/threads/threadCondition/thread release release}, {@fun/threads/threadCondition/thread release release}, {@fun/threads/threadCondition/thread release release release}, {@fun/threads/threadCondition/thread release release release release}, {@fun/threads/threadCondition/thread

通知する 待って