Michael Stahl 64c09371d6 comphelper::ThreadPool: guard against concurrent shutdown/pushTask
To join a thread, the mutex must be released - another thread
in pushTask() could add a new thread to maWorkers at that point,
which must of course not be deleted.

Avoid the problem by transferring ownership of the to-be-deleted
threads to the calling thread.

(regression from bdaa13a87744e424d3c210fc7f3f9e4f199d8279)

Change-Id: I9d4fcfe4cb46a336586b5663934a12d47b2d8ccb
2017-03-22 11:39:32 +01:00
..
2017-03-19 21:34:58 +00:00
2017-02-20 06:05:11 +00:00
2017-02-06 17:21:16 +01:00
2017-02-15 23:01:23 +00:00