The other week, I wrote a little thread class and a one-way message pipe to allow communication between threads (two pipes per thread, obviously, for bidirectional communica
The following is a good article in reference to using volatile w/ threaded programs.
volatile
Volatile Almost Useless for Multi-Threaded Programming.