unsigned int mysql_thread_safe(void );
Indicates whether or not the client library is compiled as thread safe. Returns 1 if the client library was compiled as thread safe otherwise zero.
1
By default the mariadb client library is compiled as thread safe.
mysql_thread_init()
mysql_thread_end()