[fpc-devel] Re: Multi threading support
Henri Gourvest
hgourvest at progdigy.com
Thu Jul 31 15:29:43 CEST 2008
sorry, it is also my idea :D
I recently written a new light db interface for firebird, to simplify
queries
and auto commit transactions (context)
with pool.GetConnection.newContext do <- start transaction
Execute(newCommand('DELETE FROM COUNTRY WHERE COUNTRY = ?'), [1]);
<- commit/rollback transaction
I also remember MS DirectShow SDK (to write codecs) use an object allocated
in the stack to syncronyse critical sections, it look like our trick with
the interface
2008/7/31 Boian Mitov <mitov at mitov.com>
> BTW: As it was discussed a while ago this does not work so well with
> Lazarus due to some "optimizations" they do with when a reference is
> decremented. With some tricks however it seems that we are on our way to get
> it to work under Lazarus as well.
>
> With best regards,
> Boian Mitov
>
> --------------------------------------------------------------------
> Mitov Software
> http://www.mitov.com
> --------------------------------------------------------------------
>
>
>
> ----- Original Message -----
> *From:* Boian Mitov <mitov at mitov.com>
> *To:* FPC developers' list <fpc-devel at lists.freepascal.org>
> *Sent:* Thursday, July 31, 2008 5:59 AM
> *Subject:* Re: [fpc-devel] Re: Multi threading support
>
> Hmm... it looks almost one to one copy from our code in Version 4.0 of
> our libraries ;-) . Are you one of our customers, or you have simply come
> with the same idea as us?
>
> With best regards,
> Boian Mitov
>
> --------------------------------------------------------------------
> Mitov Software
> http://www.mitov.com
> --------------------------------------------------------------------
>
>
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080731/60ddf3b0/attachment.html>
More information about the fpc-devel
mailing list