Page MenuHomePhabricator

[libcxx] Don't assume __libcpp_thread_t is an integral type.
ClosedPublic

Authored by rmaprath on Jan 12 2017, 5:43 AM.

Details

Summary

We have refactored the underlying platform thread type into __libcpp_thread_t, but there are few places in the source where it is assumed to be an integral type.

This was discovered while trying to port libcxx onto a platform with a slightly wonkier threading system.

Diff Detail

Repository
rL LLVM

Event Timeline

rmaprath updated this revision to Diff 84114.Jan 12 2017, 5:43 AM
rmaprath retitled this revision from to [libcxx] Don't assume __libcpp_thread_t is an integral type..
rmaprath updated this object.
rmaprath added reviewers: compnerd, EricWF.
rmaprath added a subscriber: cfe-commits.
EricWF accepted this revision.Jan 13 2017, 6:53 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Jan 13 2017, 6:53 PM
This revision was automatically updated to reflect the committed changes.