Jan Kiszka wrote:
> OTOH, we can safe some text size which is precious as well. So I'm
> convinced to go your way (with a modification):

My approach sucks: we get a silly atomic_cmpxchg if the mutex is already
claimed, which is as least as much a common case as a currently
unclaimed mutex. Need to think a bit. But I think a good solution is to
re-read only if the mutex has been seen as already claimed.


Xenomai-core mailing list

Reply via email to