Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Using POSIX threads on mac X and solaris?

Mac POSIX Solaris threads
0
Posted

Using POSIX threads on mac X and solaris?

0

Does any one know of any advantages or disavtanges of using posix thread (pthread) on mac X and solaris compared to native implementations. Do pthread make call to native implementation in both these cases and is the maping between pthread and kernel object 1:1 . Thanks Sujeet I don’t know anything about the thread implementation on the mac. On Solaris, pthreads are roughly equivalent to the so-called solaris threads implementation. I believe that both APIs sit on top of lower-level calls. The main advantage of using POSIX threads is portability. The other is simplicity. % Do pthread make call to native implementation in both these cases and is the % maping between pthread and kernel object 1:1 . The mapping between pthreads and the kernel scheduling entity in Solaris depends on what you ask for. Note that you must be careful if you try to use the m:n model, because the Solaris two-level thread scheduler is crap. (this is not related to the API — it’s crap for both pthreads and UI thr

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123