DescriptionImplement a new child test helper for Android.
On Android, there's no binary to exec(), therefore the existing spawning
mechanism fork()s the process at the current location. Because fork() only
forks the running thread, this causes problems if another thread (i.e. an
IO thread) is created before the child is launched.
This implementation works around this by forking a helper process very early,
and using that to create a new child.
Finally, use this to enable the Mojo multi-process tests on Android.
BUG=585849
Committed: https://crrev.com/0027a09598062ce81944af809130692940bca515
Cr-Commit-Position: refs/heads/master@{#391130}
Patch Set 1 #Patch Set 2 : mostly working tests #Patch Set 3 : Enable ChannelMojo tests. #Patch Set 4 : Cleanup. #Patch Set 5 : Fix check failure. #Patch Set 6 : Fix linker error. #Patch Set 7 : Inject main(). #
Total comments: 6
Patch Set 8 : Rebase and address comments #Patch Set 9 : Rebase. #
Dependent Patchsets: Messages
Total messages: 18 (9 generated)
|