Re: [lxc-devel] [PATCH] Protect global variables in log module via mutex

2013-11-12 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > Hi Serge, > > On Mon, Nov 11, 2013 at 4:04 PM, Serge Hallyn wrote: > > Quoting S.Çağlar Onur (cag...@10ur.org): > >> Log module contains multiple global variables so protect them introducing > >> a new mutex and serialize accessing log functions. > >> A

Re: [lxc-devel] [PATCH] Protect global variables in log module via mutex

2013-11-12 Thread S . Çağlar Onur
Hi Serge, On Mon, Nov 11, 2013 at 4:04 PM, Serge Hallyn wrote: > Quoting S.Çağlar Onur (cag...@10ur.org): >> Log module contains multiple global variables so protect them introducing a >> new mutex and serialize accessing log functions. >> Also gather all locking related code into src/lxc/lxcloc

Re: [lxc-devel] [PATCH] Protect global variables in log module via mutex

2013-11-11 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > Log module contains multiple global variables so protect them introducing a > new mutex and serialize accessing log functions. > Also gather all locking related code into src/lxc/lxclock.c > > Signed-off-by: S.Çağlar Onur Really the log stuff should be