Validate separate process support - #16
Closed
yohimik wants to merge 8 commits into
Closed
Conversation
Signed-off-by: deadprogram <ron@hybridgroup.com>
Use posix_spawn on hosted Linux and Darwin. Map process files, apply the working directory and process group, and clear the child signal mask. Use wait4 for process status and support Kill and Signal. Mark Darwin pipes close-on-exec under ForkLock. Darwin also needs the fcntl wrapper in PR tinygo-org#5612 and the libSystem symbols in PR tinygo-org#5636. Concurrent spawn and pipe creation need the RWMutex fix in PR tinygo-org#5630. Keep the process stubs on other targets and add process regression tests.
|
Size difference with the dev branch: Binary size differencedrivers/sizes-pr.txt has more commands than drivers/sizes-dev.txt
tinygo build -size short -o ./build/test.hex -target=feather-rp2040 ./examples/adafruit4650
flash ram
before after diff before after diff
|
Owner
Author
|
Validation is consolidated in #18, which includes the declared process prerequisites. Running this branch alone on Darwin would only reproduce the known missing dependencies. The upstream PR remains separate and open. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Validation only for tinygo-org#5634. Darwin has explicit prerequisites tinygo-org#5612 and tinygo-org#5636 which are not copied into this branch. A Darwin link failure without those prerequisites is expected. This fork PR will not be merged.