forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use vfork() improve performance when starting processes. (dotnet/core…
…fx#33289) * Use vfork() to start child processes where this yields a performance improvement due to getting rid of page faults. * Remove specific dependency on shared memory vfork so that cross compiles work again. * Added signal mask code so that a child process can't confuse the parent; also took care of pthread cancellation mask in case third-party native code tries to use it * Fix issues from vfork() pull request review * Check handler before replacing it * Improve readability of signal handler removing * Convert tabs to spaces * use NSIG instead of dynamic probing because glibc punches a hole in the middle of the signal list * Exclude Mac OSX from vfork() because we don't quite trust it. * Fix one last batch of typos Commit migrated from dotnet/corefx@0a561e3
- Loading branch information
1 parent
e28119e
commit d93ac7c
Showing
3 changed files
with
92 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters