Skip to content

Add sigwait/sigwaitinfo/sigtimedwait. #201

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

Merged
merged 1 commit into from
Feb 29, 2016
Merged

Add sigwait/sigwaitinfo/sigtimedwait. #201

merged 1 commit into from
Feb 29, 2016

Conversation

fiveop
Copy link
Contributor

@fiveop fiveop commented Feb 28, 2016

No description provided.

@fiveop
Copy link
Contributor Author

fiveop commented Feb 28, 2016

I fixed it as much as I could. I noticed that a lot of functions had special linker attributes for netbsd. How do I determine the right linker targets for a function on netbsd (and apparently i686-apple-darwin)?

@alexcrichton
Copy link
Member

Ah most of those attributes came out as a result of CI, but if the CI is green then no need for any attributes! Looks like though sigwait on OSX has a special name as well as sigtimedwait on NetBSD, so I guess this isn't the case here unfortunately.

From what I can tell, however, the names seem to be:

  • OSX - sigwait$UNIX2003 (you can follow other examples here as well)
  • NetBSD - __sigtimedwait50 (there's also probably a few other examples here as well)

alexcrichton added a commit that referenced this pull request Feb 29, 2016
Add sigwait/sigwaitinfo/sigtimedwait.
@alexcrichton alexcrichton merged commit 2a48d49 into rust-lang:master Feb 29, 2016
@alexcrichton
Copy link
Member

Thanks!

@fiveop fiveop deleted the sigwait branch May 1, 2016 14:02
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