Skip to content

Conversation

@tov
Copy link
Contributor

@tov tov commented Jul 18, 2022

vfork(2) is deprecated on macOS >= 12, so we need to use fork(2) instead to avoid deprecation warnings. (Should we use posix_spawn(2) where available?)

@tov
Copy link
Contributor Author

tov commented Jul 18, 2022

Addresses #34.

@tov tov force-pushed the vfork-deprecated branch 2 times, most recently from cfd1373 to 956c91f Compare July 18, 2022 22:56
@tov tov force-pushed the master branch 3 times, most recently from 8a85852 to c3be198 Compare July 19, 2022 00:18
@tov tov force-pushed the vfork-deprecated branch 3 times, most recently from 41f2e63 to 6e02a7b Compare July 19, 2022 02:58
@tov tov force-pushed the vfork-deprecated branch from 092aea5 to a804382 Compare July 22, 2022 17:28
@tov tov requested a review from aalekseyev July 26, 2022 14:38
Copy link
Contributor

@aalekseyev aalekseyev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is sad because fork is slow, but I don't have any better idea.

tov added 2 commits July 26, 2022 12:10
It's deprecated. Use fork(2) instead.

Signed-off-by: Jesse A. Tov <jesse.tov@gmail.com>
vfork(2) is deprecated on macOS 12, so we need to test on both.

Signed-off-by: Jesse Tov <jtov@janestreet.com>
@tov tov force-pushed the vfork-deprecated branch from a804382 to a3a885b Compare July 26, 2022 16:11
@tov
Copy link
Contributor Author

tov commented Jul 26, 2022

This is sad because fork is slow, but I don't have any better idea.

Maybe #47 is preferable?

@rgrinberg
Copy link
Collaborator

On recent versions of Macos, vfork is just aliased to fork. So I would welcome this PR to disable vfork on macos completely

Because I can't figure out how to run the CI without making a change.

Signed-off-by: Jesse A. Tov <jesse.tov@gmail.com>
@tov tov force-pushed the vfork-deprecated branch from 9dc3435 to 1c2ad57 Compare March 22, 2023 16:27
@tov tov merged commit c72950a into janestreet:master Mar 22, 2023
@tov tov deleted the vfork-deprecated branch March 22, 2023 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants