[Bf-committers] Re: Pretty clueless Linux threads crashing...

Yomgui yomgui1 at gmail.com
Fri Feb 24 11:36:22 CET 2006


The best rule when we're coding w/ threads is to not use global variables ;-)

-- Guillaume

> Aah! The volatile trick again... I spent some time reading about it,
> and it seems to be recommended to use especially when coding threads.

> This is a nice read;
> http://www.programmersheaven.com/articles/pathak/article1.htm

> I'm still unsure which variables would be the best candidates to become
> volatile... but I know a couple of important ones that I could try
> first.

> Thanks,

> -Ton-


More information about the Bf-committers mailing list