Re: [lxc-devel] [PATCH] put shared variables into thread-local storage

2014-03-06 Thread S . Çağlar Onur
On Thu, Mar 6, 2014 at 11:58 PM, Serge Hallyn wrote: > Quoting S.Çağlar Onur (cag...@10ur.org): >> This doesn't solve the general design problem of the log.c (eg; some log >> lines >> got lost or scattered into multiple files) but at least prevent multithreaded >> code from crashing. >> >> Before

Re: [lxc-devel] [PATCH] put shared variables into thread-local storage

2014-03-06 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > This doesn't solve the general design problem of the log.c (eg; some log lines > got lost or scattered into multiple files) but at least prevent multithreaded > code from crashing. > > Before this change something like following; > > sudo src/tests/lxc-t

[lxc-devel] [PATCH] put shared variables into thread-local storage

2014-03-06 Thread S . Çağlar Onur
This doesn't solve the general design problem of the log.c (eg; some log lines got lost or scattered into multiple files) but at least prevent multithreaded code from crashing. Before this change something like following; sudo src/tests/lxc-test-concurrent -i 10 -j 20 was crashing nearly all the