I\'m attempting to write a lock-free version of a call queue I use for message passing. This is not for anything serious, just to learn about threading.
I\'m relativ
Use Thread.VolatileRead() and VolatileWrite() methods from the BCL.
Thread.VolatileRead()
VolatileWrite()
http://msdn.microsoft.com/en-us/library/system.threading.thread.volatileread.aspx