public class SingleConsumerCondition extends Object
Implementation Notes:
await(long)
may spuriously return before the deadline is reached.signal()
is called before the consumer thread calls await(long)
,
the next call to await(long)
returns immediately.Constructor and Description |
---|
SingleConsumerCondition(Thread consumer) |
public SingleConsumerCondition(Thread consumer)
Copyright © 2021. All rights reserved.