MySQL Forums
Forum List  »  Connector/C++

Is the Connector thread-safe?
Posted by: Максим Петров
Date: February 23, 2021 03:16PM

Hello. Where is the information about whether the connector is thread-safe? Can I call the execute method in different threads and be sure that the execution is correct? If not, which methods share the same mutable data? I mean, can I make a thread for the execute methods and use the with mutex query pool, and still continue to call the getSchema method in another thread without synchronization?

Options: ReplyQuote


Subject
Views
Written By
Posted
Is the Connector thread-safe?
94
February 23, 2021 03:16PM
46
March 03, 2021 07:53AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.