-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command: Support posix_spawn() on FreeBSD/OSX/GNU Linux #48624
Merged
Merged
Commits on Feb 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 518b3f7 - Browse repository at this point
Copy the full SHA 518b3f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11696ac - Browse repository at this point
Copy the full SHA 11696acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f463386 - Browse repository at this point
Copy the full SHA f463386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94630e4 - Browse repository at this point
Copy the full SHA 94630e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e3fa0d - Browse repository at this point
Copy the full SHA 8e3fa0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3ecf5f - Browse repository at this point
Copy the full SHA b3ecf5fView commit details -
Support posix_spawn() for FreeBSD.
spawn() is expected to return an error if the specified file could not be executed. FreeBSD's posix_spawn() supports returning ENOENT/ENOEXEC if the exec() fails, which not all platforms support. This brings a very significant performance improvement for FreeBSD, involving heavy use of Command in threads, due to fork() invoking jemalloc fork handlers and causing lock contention. FreeBSD's posix_spawn() avoids this problem due to using vfork() internally.
Configuration menu - View commit details
-
Copy full SHA for 85b82f2 - Browse repository at this point
Copy the full SHA 85b82f2View commit details
Commits on Mar 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e6efd0d - Browse repository at this point
Copy the full SHA e6efd0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9ea876 - Browse repository at this point
Copy the full SHA a9ea876View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e2d926 - Browse repository at this point
Copy the full SHA 2e2d926View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef73b3a - Browse repository at this point
Copy the full SHA ef73b3aView commit details
Commits on Mar 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 99b50ef - Browse repository at this point
Copy the full SHA 99b50efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ba6b3a - Browse repository at this point
Copy the full SHA 5ba6b3aView commit details -
Support posix_spawn() for Linux glibc 2.24+.
The relevant support was added in https://sourceware.org/bugzilla/show_bug.cgi?id=10354#c12
Configuration menu - View commit details
-
Copy full SHA for d740083 - Browse repository at this point
Copy the full SHA d740083View commit details
Commits on Mar 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 57c74c3 - Browse repository at this point
Copy the full SHA 57c74c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00dac20 - Browse repository at this point
Copy the full SHA 00dac20View commit details -
Don't use posix_spawn() if PATH was modified in the environment.
The expected behavior is that the environment's PATH should be used to find the process. posix_spawn() could be used if we iterated PATH to search for the binary to execute. For now just skip posix_spawn() if PATH is modified.
Configuration menu - View commit details
-
Copy full SHA for 6212904 - Browse repository at this point
Copy the full SHA 6212904View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0faf7 - Browse repository at this point
Copy the full SHA 8e0faf7View commit details
Commits on Mar 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 70559c5 - Browse repository at this point
Copy the full SHA 70559c5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.