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
..
2019-05-27 16:09:41 +02:00
2019-05-17 22:42:53 +02:00
2016-08-03 09:53:49 +02:00
2019-04-09 16:23:15 +02:00
2019-05-13 07:03:51 +02:00
2016-01-18 21:02:13 +01:00
2016-07-29 15:12:36 +02:00
2019-01-22 16:07:26 +01:00
2014-05-15 06:47:42 +02:00
2019-01-29 14:06:05 +01:00
2019-01-29 14:06:05 +01:00
2018-01-24 22:01:52 -08:00
2019-02-04 10:32:25 +01:00
2014-02-13 15:14:34 -08:00
2019-02-04 10:32:25 +01:00
2019-02-04 10:32:25 +01:00
2019-01-22 16:07:26 +01:00
2019-02-04 10:32:25 +01:00
2019-02-04 10:32:25 +01:00
2019-02-04 10:32:25 +01:00
2019-01-14 07:25:13 +01:00
2013-06-13 14:00:15 +09:00
2016-03-30 15:01:25 -07:00
2014-12-04 18:23:07 +09:00
2017-04-23 10:31:17 +02:00
2019-01-29 14:06:05 +01:00
2013-02-14 12:09:16 -08:00
2019-01-29 14:06:05 +01:00
2017-04-20 04:56:09 +02:00
2017-10-19 12:21:21 -07:00
2016-12-04 09:01:39 +01:00
2019-02-04 13:56:15 +01:00
2019-02-04 10:32:25 +01:00
2013-12-05 01:02:38 +09:00
2014-02-13 18:16:25 -08:00
2016-12-04 09:01:39 +01:00
2014-07-29 15:01:47 -07:00
2017-04-23 10:31:17 +02:00
2019-02-04 10:32:25 +01:00
2012-12-26 13:50:01 +09:00
2016-11-09 10:58:35 +01:00
2012-06-04 13:31:44 -07:00
2019-01-29 14:06:05 +01:00
2019-01-22 16:07:26 +01:00