Re: [lxc-devel] [PATCH] check pthread_atfork and thread-local storage support

2014-01-06 Thread Stéphane Graber
On Sat, Jan 04, 2014 at 12:00:04AM -0500, S.Çağlar Onur wrote: > This patch; > > Adds pthread_atfork check to configure.ac and uses it when necessary, > Introduces tls.m4 macro for checking thread-local storage support, > Puts values array into thread-local storage > (lxc_global_config_value@src/

[lxc-devel] [PATCH] check pthread_atfork and thread-local storage support

2014-01-03 Thread S . Çağlar Onur
This patch; Adds pthread_atfork check to configure.ac and uses it when necessary, Introduces tls.m4 macro for checking thread-local storage support, Puts values array into thread-local storage (lxc_global_config_value@src/lxc/utils.c), Removes static_lock/static_unlock from LXC code, Lastly, it