NuwaTemplateProcess: Difference between revisions

Jump to navigation Jump to search
Line 39: Line 39:


For running IPC between Nuwa process and the parent process, the IO thread and the main thread should not be frozen.  For the main thread, no any special should be done, it just continue the control flow after fork.  But, for the IO thread, it should create a parasite point just before the fork to tell Nuwa where to restart the thread. See
For running IPC between Nuwa process and the parent process, the IO thread and the main thread should not be frozen.  For the main thread, no any special should be done, it just continue the control flow after fork.  But, for the IO thread, it should create a parasite point just before the fork to tell Nuwa where to restart the thread. See
* ParasitePointThreadNuwa() in BionicGlue.cpp, and
* ParasitePointThreadNuwa() in BionicGlue.cpp, and
* DoParasitePoint() in ContentChild.cpp.
* DoParasitePoint() in ContentChild.cpp.


== Defense ==
== Defense ==
Confirmed users
398

edits

Navigation menu