If you're going to access the same global var from different threads you should 
use a lock to prevent race conditions.

Reply via email to