Page MenuHomePhabricator

[libcxx] Threading support: externalize sleep_for()

Authored by rmaprath on Feb 7 2017, 4:36 AM.



Different platforms implement the wait/sleep behaviour in very different ways. It makes sense to hoist this functionality into the threading API.

I also feel similarly about hardware_concurrecy() implementation. Any thoughts on that?

Diff Detail

Event Timeline

rmaprath created this revision.Feb 7 2017, 4:36 AM
rmaprath abandoned this revision.Feb 7 2017, 4:37 AM

Abandoning - forgot cfe-commits....