Suspending at any arbitrary point as the semantics of .suspend() are, is afaik impossible
not arbitrary. The rules are roughly the same as those for signaling (SuspendThread, in Windows, is implemented with a kernel-mode signal, like most system calls targeting threads). The only problem I see is the interaction with waits - but, on the other hand, EINTR has been banned from POSIX threads as cumbersome and of limited usefulness, and all POSIX threading interfaces restart interrupted waits automatically
(and besides -- not a good idea either).
true. A crude and rude interface. But not supporting it at all?
_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
