logoalt Hacker News

m-schuetzyesterday at 2:52 PM1 replyview on HN

I'm still confused as to why linux requires linking against TBB for multithreading, thus breaking cmake configs without if(linux) for tbb. That stuff should be included by default without any effort by the developer.


Replies

sebtronyesterday at 3:02 PM

I think this is related to the C++ standard library implementation.

Using pthread in C, for example, TBB is not required.

Not sure about C11 threads, but I have always thought that GLIBC just uses pthread under the hood.

show 1 reply