Try Queue instead Syncronize. -- Silvio Clécio My public projects - github.com/silvioprog
Thanks Silvio, i gonna try. But i want to understand why it does not works good with Syhchronize. I was thinking that, maybe, LCL does not use the same level of priority while creating thread than original fp. Is that wright ? And why Synchronize a dummy proc have affect on parent thread. Other question : Does it exist a level of priority for Synchronize, like threads have ? Thanks _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal