"Fabian Scheler" <[EMAIL PROTECTED]> writes: > Hello, > >> This is pure overhead in the case of DSR-to-thread synchronization. > > so, why don't you use a semaphore?
Did I say I don't? Though semaphore is a poor man replacement for an optimized primitive with exact semantics required for particular purpose that is currently missing in eCos. Please notice that semaphore's internal counter is pure overhead as well, though admittedly it's less than those of mutex having both state variable and a wait queue. -- Sergei. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
