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.

Pthreads on IRIX 6.4 question?

IRIX pthreads
0
Posted

Pthreads on IRIX 6.4 question?

0

X-Mozilla-Status2: 00000000 bhalchin@hotmail.com wrote: > > Hello, > > I am having problems with Pthreads on IRIX 6.4. I have two > threads: the initial thread plus one that has been pthread_created. > The pthread_created pthread does an ioctl and sits in a driver waiting > for an > event. While this is happening the “initial” thread should be eligible > to run, but it is put to sleep, i.e. doesn’t run. Why? On IRIX, what > kind of LWP notion > is there? Defaul scheduling scope is process on IRIX 6.4, and the number of execution vehicles is determined by the pthread library — typically, you’ll start with one execution vehicle unles sthe library detects all your threads can run in parallel and consume CPU resources. But the latest pthread patches for IRIX 6.4 would, in my experience, create an extra execution vehicle on the fly in the case you describe, so I’d certainly recommend you to get the *LATEST* set of POSIX recommended patches. You can, in 6.4, use pthread_setconcurrency to gi

Related Questions

What is your question?

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

Experts123