mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
e36783bdd1
In bug 1364624 we switched over to SRWLock on Windows for our internal implementation of mozilla::Mutex. This doesn't allow for re-entrancy. The WebCryptoThreadPool shutdown code has potential for re-entrancy due to the spinning of the main thread event loop while shutting down the worker threads. By limiting the scope of the lock protecting mPool during shutdown we can avoid the re-entrancy. Addtionally we track the shutdown status to avoid dispatching events once shutdown has started. --HG-- extra : rebase_source : 6e97a1fbdf4033ef93b3ecbafcf4b7898d9b19af |
||
---|---|---|
.. | ||
test | ||
CryptoBuffer.cpp | ||
CryptoBuffer.h | ||
CryptoKey.cpp | ||
CryptoKey.h | ||
KeyAlgorithmProxy.cpp | ||
KeyAlgorithmProxy.h | ||
moz.build | ||
WebCryptoCommon.h | ||
WebCryptoTask.cpp | ||
WebCryptoTask.h | ||
WebCryptoThreadPool.cpp | ||
WebCryptoThreadPool.h |