This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: No binary semaphore in C API?
- To: Grant Edwards <grante at visi dot com>
- Subject: Re: [ECOS] No binary semaphore in C API?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 19 Mar 2001 21:42:28 +0000
- Cc: ecos-discuss at sources dot redhat dot com, Nick Garnett <nickg at redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <20010316140116.A1062@visi.com>
Grant Edwards wrote:
>
> So, I wanted to use binary semaphores, but can't find the API.
> The program is using counting semaphores right now, but using a
> binary ones would be a bit more "defensive".
>
> Is there a technical reason that there isn't a C API for binary
> semaphores, or is it something that just hasn't been done yet?
Certainly no technical reason. Nick may not have done it out of principle.
But right now he's on vacation, so it's best to wait till he returns.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine