This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pthread_attr_setscope fails


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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]