[Lazarus] custom thread reading file does not respond properly

Andrea Mauri andrea.mauri.75 at gmail.com
Tue Sep 5 14:41:09 CEST 2017

Dear all,

I have an issue using threads on OSX.
Basically I have a thread reading a file and looking for a string match.
I have no problem on win and linux but on osx my thread updates the form 
but my application does not respond.
I opened a topic on the forum 
(https://forum.lazarus.freepascal.org/index.php/topic,38146.0.html), I 
would like a more satisfactory answer. I am trying here.

If possible, I would like to understand if this behaviour is related to 
OSX or SSD drive. If related to OSX I can simply add IFDEF DARWIN 
calling sleep?
If it is related to SSD how can I manage it?

Andrea Mauri

More information about the Lazarus mailing list