Skip pthread_setcancelstate on android#52
Merged
tov merged 1 commit intojanestreet:masterfrom Sep 19, 2023
Merged
Conversation
4a5b3b1 to
e196d16
Compare
e196d16 to
653e70d
Compare
Android doesn't support cancelling threads, so theres no reason to set the cancel state Signed-off-by: Sean Breckenridge <seanbrecke@gmail.com>
653e70d to
049f40d
Compare
Contributor
Author
|
Not sure exactly how to build this to test on termux (as it requires Which was then fixed by the diff here, allowing me to successfully compile the vendored version of this lib there Tried compiling the file manually by doing something like: But can't seem to find the |
Collaborator
|
@seanbreckenridge the last problem is fixed by: #48 |
emillon
added a commit
to emillon/dune
that referenced
this pull request
Sep 26, 2023
- pull some upstream changes including janestreet/spawn#51 (Haiku) and janestreet/spawn#52 (Android) - point to `ocaml-dune/spawn` - point to a commit instead of a branch name Signed-off-by: Etienne Millon <me@emillon.org>
emillon
added a commit
to ocaml/dune
that referenced
this pull request
Sep 26, 2023
- pull some upstream changes including janestreet/spawn#51 (Haiku) and janestreet/spawn#52 (Android) - point to `ocaml-dune/spawn` - point to a commit instead of a branch name Signed-off-by: Etienne Millon <me@emillon.org>
dkalinichenko-js
pushed a commit
to dkalinichenko-js/opam-repository
that referenced
this pull request
Nov 12, 2024
CHANGES: - Support older GCC like 4.8.5 (janestreet/spawn#59) - Fix spawning processes on Windows when environment contains non-ascii characters (janestreet/spawn#58) - Skip calls to pthread_cancelstate on android, as its not available (janestreet/spawn#52) - Fix compatibility with systems that do not define `PIPE_BUF`. Use `_POSIX_PIPE_BUF` as a fallback. (janestreet/spawn#49) - [haiku] Fix compilation on Haiku OS. The header sys/syscalls.h isn't available, neither is pipe2() - Allow setting the sigprocmask for spawned processes (janestreet/spawn#32)
dkalinichenko-js
pushed a commit
to dkalinichenko-js/opam-repository
that referenced
this pull request
Nov 12, 2024
CHANGES: - Support older GCC like 4.8.5 (janestreet/spawn#59) - Fix spawning processes on Windows when environment contains non-ascii characters (janestreet/spawn#58) - Skip calls to pthread_cancelstate on android, as its not available (janestreet/spawn#52) - Fix compatibility with systems that do not define `PIPE_BUF`. Use `_POSIX_PIPE_BUF` as a fallback. (janestreet/spawn#49) - [haiku] Fix compilation on Haiku OS. The header sys/syscalls.h isn't available, neither is pipe2() - Allow setting the sigprocmask for spawned processes (janestreet/spawn#32)
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.
This is a follow up from: ocaml/dune#8676
Android doesn't support cancelling threads, so theres no reason to set the cancel state
For more info: https://android.googlesource.com/platform/bionic.git/+/HEAD/docs/status.md