[PATCH] D59676: Make Parallel.h build with libc++ on Windows.
Billy Robert O'Neal III via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 15:50:53 PDT 2019
BillyONeal added a comment.
> f you happen to have pointers to the APIs to use hereā¦ :)
Our parallel algorithms implementation multiplies the hardware_concurrency by some multiplier (I think 32), breaks the input into that many chunks, calls CreateThreadpoolWork, calls SubmitThreadpoolWork once for each callback, has the calling thread also try to retire chunks, and calls WaitForThreadpoolWorkCallbacks and CloseThreadpoolWork when done. I talked about this at CppCon last September https://www.youtube.com/watch?v=nOpwhTbulmk
Billy3
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59676/new/
https://reviews.llvm.org/D59676
More information about the llvm-commits
mailing list