From mboxrd@z Thu Jan 1 00:00:00 1970 From: ruben@mrbrklyn.com (Ruben Safir) Date: Sun, 14 Jun 2015 08:53:59 -0400 Subject: Global variables In-Reply-To: References: <1434281327.2722.2.camel@roni> <557D666B.60807@mrbrklyn.com> Message-ID: <557D7967.3070504@mrbrklyn.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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.