This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Add clone arguments to callback hooks#111
Open
vancemiller wants to merge 4 commits intopmem:masterfrom
Open
Conversation
added 4 commits
July 23, 2021 14:24
Pass through the original arguments to clone and add a pointer to the return value. This allows the hook to modify the returned PID if desired
Codecov Report
@@ Coverage Diff @@
## master #111 +/- ##
==========================================
+ Coverage 91.98% 92.29% +0.31%
==========================================
Files 12 12
Lines 973 974 +1
==========================================
+ Hits 895 899 +4
+ Misses 78 75 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Forwards all arguments from clone to the parent and child hook functions. Additionally, allows the parent hook to set the returned PID if desired. Updates the clone test case to verify arguments are correctly forwarded.
Very similar to PR #102 but also updates the test case.
This change is