mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
a9bab69fa2
This is the patch that tests and fixes this bug. If we execute the error case because the OS refused to create a thread we would create a nested AutoLockHelperThreadsState and violate mutex orderings. We fix this by reducing the AutoLockHelperThreadsState scope in ensureInitalized(). Also: + Use OOM testing to fail thread creation. + Remove the unsafe-OOM region from Thread::init(), it isn't needed anyway. Differential Revision: https://phabricator.services.mozilla.com/D46563 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |