public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Once again, I need a binary semaphore
@ 2015-03-16 17:18 Grant Edwards
  2015-03-17  9:21 ` lesc
  0 siblings, 1 reply; 6+ messages in thread
From: Grant Edwards @ 2015-03-16 17:18 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-17 15:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 17:18 [ECOS] Once again, I need a binary semaphore Grant Edwards
2015-03-17  9:21 ` lesc
2015-03-17 14:33   ` [ECOS] " Grant Edwards
2015-03-17 14:47     ` Grant Edwards
2015-03-17 14:57       ` Frank Pagliughi
2015-03-17 15:19         ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).