Synopsis
unsigned int mysql_thread_safe(void)
Use this function to determine whether the MySQL client
library is safe for a threaded environment. It returns 1 if safe, 0 if
not. Here is an example:
...
if(mysql_thread_safe( ))
{ printf("Safe Environment \n"); }
else{ printf("Unsafe Environment \n"); }
...