Program freeze when using ZPGEventAlerter

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Program freeze when using ZPGEventAlerter

Post by marsupilami »

Hello,
DarkXaoc wrote:There is a program using the Components of the Indy10 version package. The program creates TCPServer and exchanges with clients.
It also uses a connection to the PostgreSQL database through the Components of the package Zeos version 7.3.
To track events in the database I use the component of the Zeos package - ZPGEventAlerter (The component allows you to receive both an event notification and some information about the changes that have occurred).
I use queue and Thread threads for event processing.
Does your program honor the limitation that a TZConnection object and all objects that use this connection object can only be used by one thread? I.e. do you have a separate connection per thread in that program?

Best regards,

Jan
Post Reply