eo2: call stack is now thread safe
authorJérémy Zurcher <jeremy@asynk.ch>
Wed, 22 Jan 2014 10:18:31 +0000 (11:18 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 10 Apr 2014 03:20:21 +0000 (04:20 +0100)
commitd39d705087af123f4e5948bfef48bde08517dfff
tree8748ccc0cdaed0a469c74deae74de1348922e550
parent4b9c37501c86d0c906406bc4d234e5bbb5550cc1
eo2: call stack is now thread safe

create/destroy tls key (_eo2_call_stack_key) at eo_init()/eo_shutdown().
use _eo2_call_stack_get() to allocate the stack when required.
register _eo2_call_stack_free() as eina_tls_cb_new() delete callback.
src/lib/eo/eo.c