[fpc-pascal] My bug or rtl bug with TThread and TThreadList?

Anthony Walter sysrpl at gmail.com
Fri Jul 28 16:37:24 CEST 2017


Could someone please look at this small bit of code and tell me I have a
bug or if there is something wrong with the RTL?

https://gist.github.com/sysrpl/40505d25fbd38c4404f95225f21fe0a6

SafePostThread is called from the UI thread, but a complete hangs of either
thread happens after sometimes one or calls calls.

The most I get this before things go wrong:

Post message

New message

Post message


I am using FPC trunk on Linux.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170728/22c681e0/attachment.html>


More information about the fpc-pascal mailing list