Files
znc/src
Uli Schlachter 0fddbba230 CThreadPool: Fix a race when starting threads
There was a race where threads were themselves responsible for increasing the
counter for the number of running threads. This left an open window where the
thread was already started, but our counter was not yet increased. The effect of
this race would be that we start more threads than we should.

Fix this by increasing the counter before actually starting new worker threads.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-08-06 15:20:12 +02:00
..
2013-12-31 10:10:55 +01:00
2014-02-16 12:45:09 +01:00
2014-02-08 01:32:12 +01:00
2011-09-23 03:33:13 +07:00
2014-05-29 23:10:30 +02:00
2013-12-31 10:10:55 +01:00
2013-12-31 10:10:55 +01:00
2013-12-31 10:10:55 +01:00
2014-04-26 16:45:04 +01:00