Global variables

Ruben Safir ruben at mrbrklyn.com
Sun Jun 14 08:53:59 EDT 2015


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.



More information about the Kernelnewbies mailing list