• Michael Stahl's avatar
    comphelper::ThreadPool: guard against concurrent shutdown/pushTask · 64c09371
    Michael Stahl yazdı
    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 bdaa13a8)
    
    Change-Id: I9d4fcfe4cb46a336586b5663934a12d47b2d8ccb
    64c09371
Adı
Son kayıt (commit)
Son güncelleme
..
inc/pch Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_comphelper_ifcontainer.mk Loading commit data...
CppunitTest_comphelper_syntaxhighlight_test.mk Loading commit data...
CppunitTest_comphelper_test.mk Loading commit data...
CppunitTest_comphelper_threadpool_test.mk Loading commit data...
CppunitTest_comphelper_variadictemplates_test.mk Loading commit data...
JunitTest_comphelper_complex.mk Loading commit data...
Library_comphelper.mk Loading commit data...
Makefile Loading commit data...
Module_comphelper.mk Loading commit data...
README Loading commit data...