Subject: Re: "Missing" pthread functions
To: None <email@example.com>
From: Matthias Scheler <firstname.lastname@example.org>
Date: 02/05/2003 18:00:37
In article <20030203000243.GA23917@yeah-baby.shagadelic.org>,
Jason R Thorpe <email@example.com> 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/