mysql_thread_safe — Returns whether thread safety is given or not

unsigned int mysql_thread_safe(void );

Tells whether the client library is compiled as thread safe.

Return value

1 if the client library was compiled as thread safe otherwise zero

[Note]

By default the mariadb client library is compiled as thread safe.

See also

mysql_thread_init(), mysql_thread_end()