On 04/10/2011 10:43, [email protected] wrote:
> 

>> Suspend and Resume have been deprecated, and I want to know how a
>> thread can be suspended.
> 
> There is - to my knowledge - no safe way of doing so.
> 

The thread could start spinning/sleeping on a /safe/ place in its code ?
But that'll require another variable to tell it to do that ?

(or: 2 variables of type Set of (tsRun, tsPause, tsTerminate)
 (and (tsRunning, tsPaused, tsTerminating) ?) ) - one for signalling to
the thread and the other to signal its current state to the world...?

L.

> 
> Michael.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to