Igor Kushnir b43e3383d5 ConcurrentQueue::cancelPending: return the number of canceled jobs
The return value can be used to make
ConcurrentQueueTest::cancelPending1UserThread() non-flaky. It may also
be useful to non-testing code.

Improve the performance of cancelPending() by locking the two mutexes
separately and minimizing the locking time.
2021-12-29 09:36:44 +01:00
..
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:08 +02:00
2019-05-30 19:46:37 +02:00
2019-05-30 19:46:37 +02:00
2021-10-18 21:56:52 +02:00
2019-05-30 19:46:37 +02:00
2019-05-30 19:46:37 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:08 +02:00
2021-04-30 09:52:31 +02:00
2020-08-31 16:19:42 +02:00
2020-08-31 16:04:26 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00