Skip to content
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

mock wait4 on android using waitpid like on win32 #752

Merged
merged 1 commit into from
Dec 14, 2019

Conversation

EduardoRFS
Copy link
Contributor

Right now Lwt_process fails when using Android NDK because wait4 isn't available on every Android device. To solve it this PR implements the same behavior as on win32 it just uses waitpid and fills the rusage with a mock.

This is important because esy does use Lwt_process and it fails without this patch to work when using an Android device

@aantron aantron merged commit 19cf913 into ocsigen:master Dec 14, 2019
@aantron
Copy link
Collaborator

aantron commented Dec 14, 2019

Thanks!

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.

2 participants