Release Note "Work in a multi-threaded environment through a single connection is supported"

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dschuch
Posts: 75
Joined: Thu 05 Feb 2009 15:29
Location: Dresden

Release Note "Work in a multi-threaded environment through a single connection is supported"

Post by dschuch » Fri 05 Mar 2021 11:43

Hi,

can u give some more information about this. What das it mean?

SELECTs are isolated? Executes as well? So everything running against the server is checking if the connection is used by another thread and waits for?

I not not think that u call a syncronize for scroll events and so on?

Thanks,
Daniel.

oleg0k
Devart Team
Posts: 190
Joined: Wed 11 Mar 2020 08:28

Re: Release Note "Work in a multi-threaded environment through a single connection is supported"

Post by oleg0k » Thu 11 Mar 2021 16:30

Hello,
Multithreading implies that a single connection can be used in several threads. Earlier, each thread required a seperate connection object. The application developer is responsible for implementing concurrent access to the data through parallel Update (or Update and Select) operations performed in different threads, handling blocking threads, etc.

wbr, Oleg
Devart Team

Post Reply