April 2008
Intermediate to advanced
566 pages
21h 55m
English
mysql_thread_safe()
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"); }
...Read now
Unlock full access