From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199712202118.OAA03563@ellpspace.math.ualberta.ca> Date: Sat, 20 Dec 1997 13:56:31 -0800 From: Richard Henderson Subject: Re: Help with threads, and an RPM suggestion In-Reply-To: On Sat, Dec 20, 1997 at 12:19:07AM -0500, Christopher Curtis wrote: > /usr/include/sched.h:67: warning: `struct timespec' declared inside parameter list > /usr/include/sched.h:67: warning: its scope is only this definition or declaration, > /usr/include/sched.h:67: warning: which is probably not what you want. > /usr/include/sched.h:68: warning: `struct timespec' declared inside parameter list Doh. Silly bug, fix attached. > /usr/include/pthread.h:431: parse error before `*' Hmm, don't see anything likely; the only thing in that area is sigset_t, but I don't get any errors either. > Also, I've found pthread_t, and pthread_mutex_t, but what is the Posix > implmentation for a semaphore? sem_t is in , since it is not originally part of the threads api (.1c) but part of real time api (.1b). r~ Sat Dec 20 13:50:28 1997 Richard Henderson * posix/sched.h: timespec is in . --- glibc-2.0.6/posix/sched.h Fri Dec 20 20:13:18 1996 +++ glibc-2.0.6-good/posix/sched.h Sat Dec 20 13:49:06 1997 @@ -24,7 +24,9 @@ /* Get type definitions. */ #include -#include /* for struct timespec */ + +#define __need_timespec +#include /* Get system specific constant and data structure definitions. */ #include -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com