Subject: Re: "Missing" pthread functions
To: None <current-users@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 02/05/2003 18:00:37
In article <20030203000243.GA23917@yeah-baby.shagadelic.org>,
Jason R Thorpe <thorpej@wasabisystems.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.
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/