It seems I overlooked this attachment in my last email.  Sorry.

> #ifndef _SEMAPHORE_H
> #define _SEMAPHORE_H  1
> 
> #include <pthread.h>

POSIX says you must include <fcntl.h> and <sys/types.h>.

> 
> __BEGIN_DECLS
> 
> struct __sem_t 
> {
>   unsigned int count;
>   pthread_mutex_t count_lock;
>   pthread_cond_t lock;
> };

This should be in a bits file.

> __END_DECLS

Please include declarations for sem_open and sem_close even if they
are only stubs.

> #endif /* pthread.h */

You may want to update this comment too.


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to