Based on which packages is Base.Threads built?

I am happy to use the functions in Base.Threads, and I am carious to know that based on which packages this Base.Threads is built? is it OneAPI, OpenMP, etc.?

It’s not build on high-level threading frameworks. It uses libuv’s threading APIs, which are thin wrappers around OS native thread APIs; elsewhere it uses some pthreads functions directly on UNIX systems and corresponding Windows threading APIs on Windows.

4 Likes

Thanks for your reply.
For curiosity, could you please give me a link to the library of those pthreads functions?

Grep for thread in the src directory.

1 Like

Thanks!