• 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
..
binaryany.cxx Loading commit data...
binaryany.hxx Loading commit data...
binaryurp.component Loading commit data...
bridge.cxx Loading commit data...
bridge.hxx Loading commit data...
bridgefactory.cxx Loading commit data...
bridgefactory.hxx Loading commit data...
cache.hxx Loading commit data...
currentcontext.cxx Loading commit data...
currentcontext.hxx Loading commit data...
incomingreply.hxx Loading commit data...
incomingrequest.cxx Loading commit data...
incomingrequest.hxx Loading commit data...
lessoperators.cxx Loading commit data...
lessoperators.hxx Loading commit data...
marshal.cxx Loading commit data...
marshal.hxx Loading commit data...
outgoingrequest.hxx Loading commit data...
outgoingrequests.cxx Loading commit data...
outgoingrequests.hxx Loading commit data...
proxy.cxx Loading commit data...
proxy.hxx Loading commit data...
reader.cxx Loading commit data...
reader.hxx Loading commit data...
readerstate.hxx Loading commit data...
specialfunctionids.hxx Loading commit data...
unmarshal.cxx Loading commit data...
unmarshal.hxx Loading commit data...
writer.cxx Loading commit data...
writer.hxx Loading commit data...
writerstate.hxx Loading commit data...