Subject: Re: "Missing" pthread functions
To: None <firstname.lastname@example.org>
From: Matthias Scheler <email@example.com>
Date: 02/05/2003 18:00:37
In article <20030203000243.GA23917@yeah-baby.shagadelic.org>,
Jason R Thorpe <firstname.lastname@example.org> writes:
> > pthread_attr_setstacksize
> > pthread_getschedparam
> > pthread_setschedparam
> They're not "missing" so much as "optional". POSIX specifies CPP
> macros that a system defines in <unistd.h> when these features are
> provided by the thread library.
The problem is that the usual Linux application doesn't honor the
defines in "unistd.h". It would be nice to have dummies for these
functions to avoid problems with 3rd party POSIX threads programs.
Matthias Scheler http://scheler.de/~matthias/