[cfe-commits] [patch][libcxx] Implement thread::hardware_concurrency for Linux via sysconf
Andrew C. Morrow
andrew.c.morrow at gmail.com
Thu Aug 2 10:59:09 PDT 2012
Hi -
The attached patch is an attempt to implement
std::thread::hardware_concurrency for platforms that don't offer
sysctl, but do provide a POSIX sysconf and _SC_NPROCESSORS_ONLN.
Thanks,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxx.thread.hware.concurrency.patch
Type: application/octet-stream
Size: 1480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120802/821d4ca9/attachment.obj>
More information about the cfe-commits
mailing list