pthread_attr_setscope fails

Sebastien Decugis sebastien.decugis@ext.bull.net
Thu Aug 26 12:23:00 GMT 2004


With the current CVS glibc, the returned value is 200112L (which is
expected).


On Thu, 2004-08-26 at 12:38, Enrique Perez-Terron wrote:
> On Thu, 2004-08-26 at 12:32, Enrique Perez-Terron wrote:
> >      long result = sysconf(_SC_THREAD_PRIORITY_SCHEDULING);
> >      if (result == 1)
> >        perror("sysconf");
> 
> Ooops, I meant if (result == -1)
>                             ^^^
> 
> Result is:
> 
>    #./scope
>    Thread priority scheduling: 1
> 
> -Enrique
-------------------------------
Sebastien DECUGIS
NPTL Test & Trace Project
http://nptl.bullopensource.org/




More information about the Libc-alpha mailing list