On Fri, 15 Oct 2010 17:24:03 +0200, Sven Barth
<pascaldra...@googlemail.com> wrote:

The problem isn't the pthreads library. The problem is the POSIX threading specification of which pthreads is an implementation (look at the comment in CSuspendThread again).

Actually, it's not even a problem. Externally suspending a thread is
inherently unsafe and should not be done at all.

If you'd do *that* would be the problem (yes, I know that there are
possible use cases, but these are negligible).


Vinzent.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to