|
Threaded Function Descriptions
You need to use the following functions when you want to create a threaded
client.
Description
This function needs to be called once in the program before calling any
MySQL function. This initializes some global variables that MySQL needs. If you
are using a thread safe client library, this will also call
my_thread_init() for
this thread.
This is automaticly called by
mysql_init() and
mysql_connect().
Return Values
none.
Description
This function needs to be called for each created thread to initialize
thread specific variables.
This is automaticly called by
my_init() and
mysql_connect().
Return Values
none.
Description
This function needs to be called before calling
pthread_exit() to freed
memory allocated by
my_thread_init().
Note that this function is NOT invoked automaticly be the client library!
Return Values
|