MySQL 9.3 C API Developer Guide
To create a threaded client, use the functions described in the following sections. See also Section 3.4, “Writing C API Threaded Client Programs”.