[En-Nut-Discussion] Semaphores

Marek Pavlu marekpavlu at mybox.cz
Fri Feb 18 20:32:46 CET 2005


Hi Harald,

I often use semaphores from Nut/OS but I have several comment to safety.
NutSemPost and NutSemWait both write to same variable two byte variable with
enabled interupt!
My mofification guarantee correct activity and allow semaphores
(NutSemPostAsync) in blok with disabled interrupt or calling from
interrupt...


Regards,
		Marek Pavlu


---
avast! Antivirus: Odchozi zprava cista.
Virova databaze (VPS): 0507-3, 17.02.2005
Testovano: 18.2.2005 20:31:59
avast! (c) copyright 2000-2003 ALWIL Software.
http://www.avast.com



  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: semaphore.zip
Type: application/x-compressed
Size: 3427 bytes
Desc: not available
Url : http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20050218/d02d1f33/attachment.bin 


More information about the En-Nut-Discussion mailing list