netty5/common
Nick Hill e1a881fa2b 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:05:40 +02:00
..
src Simplify SingleThreadEventExecutor.awaitTermination() implementation (#9081) 2019-05-27 16:05:40 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2019-04-30 16:42:29 +00:00