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

Add mac/ios pthread_mach_thread_np #2328

Merged
merged 1 commit into from Aug 9, 2021

Conversation

vaffeine
Copy link
Contributor

@vaffeine vaffeine commented Aug 9, 2021

This function allow to retrieve the mach thread bound to the pthread.
From pthread.h:

__API_AVAILABLE(macos(10.4), ios(2.0))
mach_port_t pthread_mach_thread_np(pthread_t);

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.

Please see the contribution instructions for more information.

@Amanieu
Copy link
Member

Amanieu commented Aug 9, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Aug 9, 2021

📌 Commit 5d43c89 has been approved by Amanieu

@bors
Copy link
Contributor

bors commented Aug 9, 2021

⌛ Testing commit 5d43c89 with merge 485507c...

@bors
Copy link
Contributor

bors commented Aug 9, 2021

☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 485507c to master...

@bors bors merged commit 485507c into rust-lang:master Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants