netty5/common/src
Nick Hill ed23cfae5e Simplify SingleThreadEventExecutor.awaitTermination() implementation (#9081)
Motivation

A Semaphore is currently dedicated to this purpose but a simple
CountDownLatch will do.

Modification

Remove private threadLock Semaphore from SingleThreadEventExecutor and just use a CountDownLatch.

Also eliminate use of PlatformDependent.throwException() in startThread
method, and combine some nested if clauses.

Result

Cleaner EventLoop termination notification.
2019-05-27 16:09:41 +02:00
..
main Simplify SingleThreadEventExecutor.awaitTermination() implementation (#9081) 2019-05-27 16:09:41 +02:00
test AsciiString.lastIndexOf(...) is implemented incorrectly (#9103) 2019-05-13 07:03:51 +02:00