Is it possible to use the core lib in multiple threads? I'm using Clanlib 2.2.8.

When I initialize the core lib in the main thread, TlsGetValue(cl_temp_pool_tls_index) returns NULL in the second thread. But, initializing the core lib in the second thread doesn't work, since the cl_core_global.cl_tls is set by the first thread.