Pthread reference for new functions

Anybody,

I am looking for a reference source (book, web, …) that covers the new
POSIX
functionality for pthreads. Specifically the atfork, barrier*, rwlock*, and
spin*
routines.

I have the O’Reilly book but it doesn’t cover the new stuff… Thanks to one
of
the QDN article I saw the rwlock* functions and decided to go looking for
what else was new since I was having some design issues with one of the
applications I am working on and only having mutexes and condvars.

Any suggestions appreciated… sample code and “when to use” type
information
expecially appreciated :slight_smile:

Jay

Hi Jay

Yes, Robert Krten’s book “Getting Started with QNX Necutrino 2” is excellent
for these things.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


“Jay Hogg” <jay@2imagineit.net> wrote in message
news:9s2ibq$slg$1@inn.qnx.com

Anybody,

I am looking for a reference source (book, web, …) that covers the new
POSIX
functionality for pthreads. Specifically the atfork, barrier*, rwlock*,
and
spin*
routines.

I have the O’Reilly book but it doesn’t cover the new stuff… Thanks to
one
of
the QDN article I saw the rwlock* functions and decided to go looking for
what else was new since I was having some design issues with one of the
applications I am working on and only having mutexes and condvars.

Any suggestions appreciated… sample code and “when to use” type
information
expecially appreciated > :slight_smile:

Jay

Bill Caroselli <qtps@earthlink.net> wrote:

Hi Jay

Yes, Robert Krten’s book “Getting Started with QNX Necutrino 2” is excellent
for these things.

Thanks for the kind words, Bill. But in the interest of fairness, I don’t
cover atfork* and spin* stuff.

Necutrino? :slight_smile:

Cheers,
-RK


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net



“Jay Hogg” <> jay@2imagineit.net> > wrote in message
news:9s2ibq$slg$> 1@inn.qnx.com> …
Anybody,

I am looking for a reference source (book, web, …) that covers the new
POSIX
functionality for pthreads. Specifically the atfork, barrier*, rwlock*,
and
spin*
routines.

I have the O’Reilly book but it doesn’t cover the new stuff… Thanks to
one
of
the QDN article I saw the rwlock* functions and decided to go looking for
what else was new since I was having some design issues with one of the
applications I am working on and only having mutexes and condvars.

Any suggestions appreciated… sample code and “when to use” type
information
expecially appreciated > :slight_smile:

Jay
\


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at www.parse.com
Email my initials at parse dot com.

nospam93@parse.com wrote:

Bill Caroselli <> qtps@earthlink.net> > wrote:
Hi Jay

Yes, Robert Krten’s book “Getting Started with QNX Necutrino 2” is excellent
for these things.

Necutrino? > :slight_smile:

He must have been thinking of the new Japanese version for cat
lovers - Nekotrino :slight_smile:

Watching too much anime does have the benefit of being able to
generate Japanese-English puns…



Norbert Black
QSSL Training Services

I hate typing on a )&$^& laptop computer keyboard.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

“Norbert Black” <nblack@qnx.com> wrote in message
news:9s68g0$t0j$1@nntp.qnx.com

nospam93@parse.com > wrote:
Bill Caroselli <> qtps@earthlink.net> > wrote:
Hi Jay

Yes, Robert Krten’s book “Getting Started with QNX Necutrino 2” is
excellent
for these things.

Necutrino? > :slight_smile:

He must have been thinking of the new Japanese version for cat
lovers - Nekotrino > :slight_smile:

Watching too much anime does have the benefit of being able to
generate Japanese-English puns…

Norbert, are you sure you want to admit that out loud?

Bill Caroselli <qtps@earthlink.net> wrote:

I hate typing on a )&$^& laptop computer keyboard.



“Norbert Black” <> nblack@qnx.com> > wrote in message
news:9s68g0$t0j$> 1@nntp.qnx.com> …
nospam93@parse.com > wrote:
Bill Caroselli <> qtps@earthlink.net> > wrote:
Hi Jay

Yes, Robert Krten’s book “Getting Started with QNX Necutrino 2” is
excellent
for these things.

Necutrino? > :slight_smile:

He must have been thinking of the new Japanese version for cat
lovers - Nekotrino > :slight_smile:

Watching too much anime does have the benefit of being able to
generate Japanese-English puns…


Norbert, are you sure you want to admit that out loud?

Sure. My BA has a minor in punning, after all… (The
University of Toronto just thought it was in French Language
and Literature. Anyone who did seminar work with me at the time
knew better.)

And, after all, I’m a really small fish around this building when
it comes to anime. I don’t even have wallpaper that comes from a
show!

sigh

Now back to writing that new course module…


Norbert Black
QSSL Training Services

“Norbert Black” <nblack@qnx.com> wrote in message
news:9s6bos$1il$1@nntp.qnx.com

Watching too much anime does have the benefit of being able to
generate Japanese-English puns…


Norbert, are you sure you want to admit that out loud?

Sure. My BA has a minor in punning, after all… (The
University of Toronto just thought it was in French Language
and Literature. Anyone who did seminar work with me at the time
knew better.)

And, after all, I’m a really small fish around this building when
it comes to anime. I don’t even have wallpaper that comes from a
show!

Well, I still like QSSL. ;~}

Does anyone have any references that would compare the performance of the
various synchronizing functions? I am curious about the relative
performance between sem_(), pthread_mutex_() and pthread_rwlock_(). I am
assuming sem
is slower than pthread_mutex() when using a semaphore as a
mutex.

Dwayne

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:9s3s4g$nh1$1@inn.qnx.com

Hi Jay

Yes, Robert Krten’s book “Getting Started with QNX Necutrino 2” is
excellent
for these things.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


“Jay Hogg” <> jay@2imagineit.net> > wrote in message
news:9s2ibq$slg$> 1@inn.qnx.com> …
Anybody,

I am looking for a reference source (book, web, …) that covers the new
POSIX
functionality for pthreads. Specifically the atfork, barrier*, rwlock*,
and
spin*
routines.

I have the O’Reilly book but it doesn’t cover the new stuff… Thanks to
one
of
the QDN article I saw the rwlock* functions and decided to go looking
for
what else was new since I was having some design issues with one of the
applications I am working on and only having mutexes and condvars.

Any suggestions appreciated… sample code and “when to use” type
information
expecially appreciated > :slight_smile:

Jay

\