Bug in latest snapshot (patch).

Sergei Organov osv at javad.ru
Thu May 24 17:52:02 UTC 2001

I believe I've found bug in the ss-20010424 snapshot. Please see attached

The bug shows itself when counting semaphore is released from ISR and obtained
from thread. The effect is that the thread is eventually blocked on unlocked
semaphore :-( I think there is a race condition in the semaphore
_CORE_semaphore_Seize_isr_disable code where interrupts are unlocked too early
(apparently due to nasty mistake introduced by copy-and-paste of code from
another place).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.diff.gz
Type: application/octet-stream
Size: 492 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20010524/ca54505a/attachment.obj>

More information about the users mailing list