Re: thread safe news server

Giganews Newsgroups
Subject: Re: thread safe news server
Posted by:  Remy Lebeau (TeamB) (
Date: Sat, 27 Dec 2003

"Feijó" <fei…> wrote in message
> Do I need to create one conection to each AThread or I
> can share only one TIBDatabase, TIBClientDataSet, etc. ?

Each thread should have its own connection to the database.  Otherwise, set
asside a separate dedicated thread for database access which the other
threads post messages to when they need database work performed.




In response to

thread safe news server posted by Feijó on Sat, 27 Dec 2003