I use set_bit and clear_bit to set and clear bits in a shared-memory
integer. Are these functions _really_ atomic (when I look at the
assembly implementation, I see two or more assembly instructions
there...)? And are they portable?

-- 
[EMAIL PROTECTED] (Ph.D.)    Fax: +32-(0)16-32 29 87
Dept. Mechanical Eng., Div. PMA, Katholieke Universiteit Leuven, Belgium

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to