mysql icon indicating copy to clipboard operation
mysql copied to clipboard

Use C++ or pthreads for automatic initialization of thread-local variables

Open DemiMarie opened this issue 7 years ago • 1 comments

We can use the pthread api (pthread_key_create et al) or a C++ thread_local variable to automatically initialize the client library on each thread needed.

DemiMarie avatar Feb 04 '18 18:02 DemiMarie

(See my reply in https://github.com/yesodweb/yesod/issues/1483)

paul-rouse avatar Feb 06 '18 11:02 paul-rouse