• Stephan Bergmann's avatar
    Fixed ThreadPool (and dependent ORequestThread) life cycle · d015384e
    Stephan Bergmann yazdı
    At least with sw_complex test under load, it happened that an ORequestThread
    could still process a remote release request while the main thread was already
    in exit(3).  This was because (a) ThreadPool never joined with the spawned
    worker threads (which has been rectified by calling uno_threadpool_dispose(0)
    from the final uno_threadpool_destroy), and (b) binaryurp::Bridge called
    uno_threadpool_destroy only from its destructor (which could go as late as
    exit(3)) instead of from terminate.
    
    Additional clean up:
    * Access to Bridge's threadPool_ is now cleanly controlled by mutex_ (even
      though that might not be necessary in every case).
    * ThreadPool's stopDisposing got renamed to destroy, to make meaning clearer.
    
    Change-Id: I45fa76e80e790a11065e7bf8ac9d92af2e62f262
    d015384e
Adı
Son kayıt (commit)
Son güncelleme
..
prj Loading commit data...
qa Loading commit data...
source Loading commit data...
CppunitTest_binaryurp_test-cache.mk Loading commit data...
CppunitTest_binaryurp_test-unmarshal.mk Loading commit data...
Library_binaryurp.mk Loading commit data...
Makefile Loading commit data...
Module_binaryurp.mk Loading commit data...