mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 08:45:46 +00:00
206bfb45d1
This just spins the event loop during fast shutdown until all queued cert_storage tasks have completed. The patch achieves this by simply adding a counter which will be incremented and decremented on the main thread via tying into the tasks' `new` and `done` methods. A slightly more performant solution would use a condvar and sleep the main thread waiting on pending operations to complete, but given the low frequency of these occuring during shutdown, such an approach would be overkill. Differential Revision: https://phabricator.services.mozilla.com/D80906 |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust | ||
string | ||
system | ||
tests | ||
threads | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |