[fpc-pascal] Where is IsMultiThreaded set under Linux?
Andrew Brunner
andrew.t.brunner at gmail.com
Fri Oct 8 22:45:00 CEST 2010
On Fri, Oct 8, 2010 at 3:37 PM, Marco van de Voort <marcov at stack.nl> wrote:
> No, but the last one might be set before the condition coupled to that last
> one might be carried out. See Jonas' example.
The ONLY way that could happen is if the boolean happens to be set in
a worker thread's method that still has more work to do. It is
understood that a thread would complete it's work before tripping the
Complete flag :-)
Threads aren't really that difficult to manage.
More information about the fpc-pascal
mailing list