[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: POSIX semaphore for GNU/Hurd
From: |
James Morrison |
Subject: |
Re: POSIX semaphore for GNU/Hurd |
Date: |
Sun, 27 Oct 2002 11:35:02 -0800 (PST) |
--- Ga�l Le Mignot <kilobug@freesurf.fr> wrote:
>
> Sun, 27 Oct 2002 20:10:24 +0100, tu as dit :
> >>> if (pshared)
> >>> return -1;
>
> >> If you wanted to be consistant with LinuxThreads this should be
> >> if (pshared)
> >> {
> >> errno = ENOSYS;
> >> return -1;
> >> }
>
> > I know we should do that, but
>
> ooops ! I forgot to finish my sentence. What I was saying is:
> I know we should do that, but I was not sure how to do that cleanly with
> the
> #define errno (*__errno_location ())
> we have as errno, I was going to verify if errno = ENOSYS; is correct before
> adding it - I would have add it in a couple of hours without your message ;)
This all should have beeen taken care of a long time ago. errno is specific
to each thread to just assigning to errno is ok.
=====
James Morrison
University of Waterloo
Computer Science - Digital Hardware
2A co-op
http://hurd.dyndns.org
Anyone referring to this as 'Open Source' shall be eaten by a GNU
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/