On 06/14/2015 07:58 AM, AYAN KUMAR HALDER wrote: > Besides, it hampers reentrancy, unless you use locks(mutex) with each > global variable. This is not necessary a function of globalization of variables, although it damn sure can be, but... honestly, if he is asking this question, it is not likely that he yet understands race conditions and critical areas.