This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Once again, I need a binary semaphore


Once again, I find I need a binary semaphore for a C application I'm
porting from another OS.

The eCos kernel has binary semaphores, but there is only a C++ API and
no C API.  I and others have asked why there is no C API for binary
semaphores, and all I've ever really understood of the answer was that
certain developers didn't think binary semaphores were cool enough.

I'm implementing a C API for binary semaphores.  It'c completely
trivial and consits of only a few dozen lines of code.  Any chance
such a patch would be accepted, or are binary semaphores still too
uncool to sit at the same lunch table as mutexes and counting
semaphores?

-- 
Grant Edwards               grant.b.edwards        Yow! I smell like a wet
                                  at               reducing clinic on Columbus
                              gmail.com            Day!


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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