PDF (US Ltr)
- 1.4Mb
PDF (A4)
- 1.4Mb
Table of Contents
The MySQL C API includes functions enabling threaded client applications to be written. These functions provide control over thread initialization and termination with the client. See also Section 3.4, βWriting C API Threaded Client Programsβ.
Another C API function,
mysql_thread_id()
, has
βthreadβ in its name but is not used for client
threading purposes. Instead, it returns the ID of the server thread
associated with the client, much like the
CONNECTION_ID()
SQL function. See
Section 5.4.85, βmysql_thread_id()β.