This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
binary vs. counting semaphore and timed wait
- From: David Brennan <eCos at brennanhome dot cxm>
- To: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: 02 Jun 2003 22:26:07 -0700
- Subject: [ECOS] binary vs. counting semaphore and timed wait
In the process of porting an application to eCos, I came across the use
of a binary semaphore with a timed wait function. The eCos
Cyg_Binary_Semaphore interface does not provide this. But it sure looks
like the rest of the code is similar enough to the counting semaphore
that it could be implemented very easily. However before I do this, is
there some particular reason this was not implemented? I'd be very
interested to hear if this is a bad idea.
Thanks
David Brennan
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss