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

Set __DARWIN_NON_CANCELABLE #12354

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

Reduce how often we have to handle EINTR on macOS by using __DARWIN_NON_CANCELABLE. We probably also should set this on the WebKit build.

We do not call pthread_cancel anywhere, so this is safe to do

How did you verify your code works?

Copy link
Contributor

github-actions bot commented Jul 5, 2024

@Jarred-Sumner, your commit has failing tests :(

💪 2 failing tests Darwin AARCH64

  • test/js/node/fs/fs.test.ts 1 failing
  • test/js/web/streams/streams.test.js 1 failing

🪟💻 5 failing tests Windows x64 baseline

  • test/cli/install/registry/bun-install-registry.test.ts 1 failing
  • test/cli/install/registry/bun-install-windowsshim.test.ts code 1
  • test/js/bun/shell/leak.test.ts 1 failing
  • test/js/node/child_process/child_process.test.ts 1 failing
  • test/js/node/tls/node-tls-connect.test.ts 1 failing

🪟💻 4 failing tests Windows x64

  • test/cli/install/registry/bun-install-registry.test.ts 1 failing
  • test/cli/install/registry/bun-install-windowsshim.test.ts code 1
  • test/js/node/child_process/child_process.test.ts 1 failing
  • test/js/node/tls/node-tls-connect.test.ts 1 failing

View logs

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.

None yet

2 participants