<div dir="ltr">I work with connection pool, a threaded control to provide avail connections.<div><br></div><div>Best regards,</div><div><br></div><div>JB</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div style="font-size:small;font-family:arial"><br>José Benedito</div><div style="font-size:small;font-family:arial">JBS Soluções<br>Consulting Systems Development<br><a href="mailto:josebenedito@gmail.com" style="color:rgb(17,85,204)" target="_blank">c</a><a href="mailto:ontato@jbsolucoes.net" style="color:rgb(17,85,204)" target="_blank">ontato@jbsolucoes.net</a><br><div><div><a href="http://www.jbsolucoes.net/" style="color:rgb(17,85,204)" target="_blank">www.jbsolucoes.net</a></div><div><br>skype: <a href="mailto:sac@jbsolucoes.net" style="color:rgb(17,85,204)" target="_blank">sac@jbsolucoes.net</a></div></div><div>+55 22 30251654</div><div>+55 22 996064279</div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Feb 2, 2015 at 6:05 AM, Michael Schnell <span dir="ltr"><<a href="mailto:mschnell@lumino.de" target="_blank">mschnell@lumino.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/30/2015 10:56 PM, Fabrício Srdic wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
The DB access framework of the fpc is not thread safe.<br>
</blockquote>
<br></span>
IMHO you should never use the therm thread save in such a generalization. You need do be a lot more specific.<br>
<br>
I never took a look at "The DB access framework of the fpc", so I can't comment on this but e.g. TList obviously is not thread save (that is why we have TThreadList), but anyway it's no problem to instantiate a TList object and use that exclusively from a single Thread, and then instantiate another TList object and use that exclusively from a different single Thread. Hence you could say "TList is thread save but it's instantiations are not". Maybe it's similar with "the DB framework".<br>
<br>
AFAIK, Indy is thread save (of course provided the user adheres to a lot of necessary precautions that might not be explicitly documented).<br>
<br>
I do know that a friend of mine used Delphi and Indy with a heavily multithreaded project.<br>
<br>
-Michael<br>
______________________________<u></u>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.<u></u>org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/<u></u>cgi-bin/mailman/listinfo/fpc-<u></u>pascal</a><br>
</blockquote></div><br></div></div>