gecko-dev/ipc
Karl Tomlinson 33229c7294 Bug 1753350 Don't block PBackgroundParent thread while the main thread processes its queued tasks r=jib
Assumptions about safety of waiting on other threads are very risky when the
threads are shared with other consumers that may be making different
assumptions.  cf. https://phabricator.services.mozilla.com/D29701#872962

The thread creation hop was introduced under the assumption that creating and
joining threads from different threads would be problematic.
https://bugzilla.mozilla.org/show_bug.cgi?id=1209987#c6
No-one identified any particular OS that was problematic.

https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createthread
says
> When a thread terminates, the thread object attains a signaled state,
> satisfying any threads that were waiting on the object.

man 3p pthread_join says
> The results of multiple simultaneous calls to pthread_join() specifying the
> same target thread are undefined.

Differential Revision: https://phabricator.services.mozilla.com/D140021
2022-03-16 04:06:32 +00:00
..
app Bug 1678152 - Catch all stack overflows on Linux r=jld 2022-01-28 07:29:26 +00:00
chromium Bug 1757596 - #include "mozilla/ProfilerThreadSleep.h" instead of GeckoProfiler.h where possible - r=florian 2022-03-08 10:32:44 +00:00
contentproc
docs Bug 1759763: Fix typo in IPC in-tree docs. r=mccr8 2022-03-15 23:37:21 +00:00
glue Bug 1753350 Don't block PBackgroundParent thread while the main thread processes its queued tasks r=jib 2022-03-16 04:06:32 +00:00
gtest Bug 1754037 - Part 3a: Manual changes to new ParamTraits API, r=ipc-reviewers,mccr8 2022-03-04 15:39:40 +00:00
ipdl Bug 1754448 - Add basic testing for snapshot re-using; r=dom-storage-reviewers,webidl,asuth,jari,ipc-reviewers,mccr8 2022-03-09 09:43:09 +00:00
mscom Bug 1757596 - #include "mozilla/ProfilerThreadSleep.h" instead of GeckoProfiler.h where possible - r=florian 2022-03-08 10:32:44 +00:00
testshell Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8 2022-02-09 17:29:47 +00:00
moz.build
pull-chromium.py