GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
mysql_thread_init(3) MariaDB Connector/C mysql_thread_init(3)

mysql_thread_init - initialize thread


#include <mysql.h>
my_bool mysql_thread_init(void );

    

Thread initialization for multi threaded clients. Multi threaded clients should call mysql_thread_init() at the beginning of the thread initialization to initialize thread specific client library variables. If mysql_thread_init() was not called explicitly, it will be called automatically by mysql_init(3) or mysql_real_connect(3).

Before a client thread ends the mysql_thread_end(3) function must be called to release memory - otherwise the client library will report an error.

Returns zero if successful or 1 if an error occurred.

This function is deprecated since MariaDB Connector/C 3.0.0.

mysql_thread_end(3)
mysql_thread_safe(3)
Version 3.2.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.