[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spinlocks and volatile
Hi!
On 16:33 Wed 10 Dec , Thanos Makatos wrote:
> Do shared variables only accessed inside spinlocks have to be declared as volatile?
No, see Documentation/volatile-considered-harmful.txt
-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ