Components thread safe?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
TobiasHo
Posts: 30
Joined: Thu 11 Jul 2019 09:12

Components thread safe?

Post by TobiasHo » Fri 12 Aug 2022 07:43

Are the MyDAC components thread safe?

pavelpd
Devart Team
Posts: 109
Joined: Thu 06 Jan 2022 14:16

Re: Components thread safe?

Post by pavelpd » Tue 23 Aug 2022 09:16

Hi Tobias,
Thanks for contacting Devart blog!

Please be informed, that MyDAC is thread-safe, but the restriction is that you cannot use one connection (the TMyConnection component) in several threads, and you should use a separate connection in each thread.

Post Reply