Linked by Elad Lahav on Thu 18th Feb 2016 19:27 UTC

A mutex is a common type of lock used to serialize concurrent access by multiple threads to shared resources. While support for POSIX mutexes in the QNX Neutrino Realtime OS dates back to the early days of the system, this area of the code has seen considerable changes in the last couple of years.

Thread beginning with comment 624988
To read all comments associated with this story, please click here.
Cool article!
by tylerdurden on Thu 18th Feb 2016 23:02 UTC
Member since:

A piece about Operating Systems, finally!

I have a question; is the neutrino internal threading model based on pthreads, or does it have a different native model onto which they get mapped?

PS. I used to develop on QNX. I really miss the pervasive message passing, basically its programming model.

Reply Score: 2

RE: Cool article!
by elahav on Thu 18th Feb 2016 23:57 in reply to "Cool article!"
elahav Member since:

For the most part, the pthread API is implemented as a thin layer on top of the native thread API, e.g., pthread_create() does very little other than invoking the ThreadCreate() kernel call.

Reply Parent Score: 2

RE[2]: Cool article!
by tylerdurden on Fri 19th Feb 2016 00:08 in reply to "RE: Cool article!"
tylerdurden Member since:

Thanks for the reply.

Follow up, is the native thread API exposed to the user? (as I said, I programmed for QNX a looong time ago, back when still used Codewarrior)

Also, are there any plans to support QNX on low end ARM systems like Raspberry Pi?

Reply Parent Score: 2