This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: No binary semaphore in C API?


On Tue, Mar 27, 2001 at 10:46:18AM +0100, Nick Garnett wrote:

> > Why impliment binary semaphores if there is no intent to
> > allow their use?
> 
> They are available from C++. Binary semaphores were one of the first
> synchronization primitives I implemented. It happens that none of the
> APIs use them, so they are somewhat redundant. I could always remove
> them if that would make you happier :-)

Sure -- then I don't have to be jealous.  Counting semaphores
are working just fine, but I was curious.

-- 
Grant Edwards
grante@visi.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]