[En-Nut-Discussion] Again Semaphore implementation

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Wed Jun 2 18:41:15 CEST 2004

Hi folks,

I found and fixed the bug in the semaphore implementation. 
A semaphore initialized with zero could underrun 
(integer underflow). In the current implementation the semaphore
value is a short (not u_short).

The behavior in other cases should not have changed.

Happy testing,


kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433

More information about the En-Nut-Discussion mailing list