[Lazarus] Can I be sure that timer and synchronize never fire at once?
zeljko
zeljko at holobit.net
Wed Jan 26 11:24:47 CET 2011
On Wednesday 26 of January 2011 11:22:47 Luca Olivetti wrote:
> Hello,
> I'm trying to debug a strange crash in an application (it's strange
> because the exception dialog appears and then disappears almost
> instantly without clicking on any button, so the customer cannot tell me
> the reason of the exception).
>
> My application (as almost any application I write) is based on the
> assumption that methods invoked by a timer and methods invoked by a
> thread with synchronize will never fire at once (i.e. they will be
> serialized by the main loop).
>
> Can I be 100% sure of that?
> I'm currently using an old version of lazarus (svn 22953 dated
> 2009-12-04) with fpc 2.2.4.
widgetset ?
zeljko
More information about the Lazarus
mailing list