Skip to content

iOS: fixed thread locals #20634

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

Closed
wants to merge 1 commit into from
Closed

Conversation

vhbit
Copy link
Contributor

@vhbit vhbit commented Jan 6, 2015

No description provided.

@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@vhbit
Copy link
Contributor Author

vhbit commented Jan 6, 2015

Closing in favor of #20652

@vhbit vhbit closed this Jan 6, 2015
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 7, 2015
This is a manual merge of rust-lang#20627 and rust-lang#20634 to avoid conflicts in rollup and also avoid one roundtrip. I've leave copyright to original author.  If this one is moved to rollup original PR could be closed. cc @mneumann

@alexcrichton r?

Both FreeBSD and DragonFly define pthread_key_t as int, while Linux
defines it as uint. As pthread_key_t is used as an opaque type and
storage size of both int and uint are the same, this is rather a
cosmetic change.

iOS uses ulong (as OS X) so difference is critical on 64bit platforms.
@vhbit vhbit deleted the ios-thread-locals branch January 8, 2015 08:10
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.

5 participants