summaryrefslogtreecommitdiff
path: root/FAQ
diff options
context:
space:
mode:
authorrpj <rpj>2004-05-20 00:56:52 +0000
committerrpj <rpj>2004-05-20 00:56:52 +0000
commitf4756d6ea3d806ecdf1a7d270c7cd9608cb18dfd (patch)
tree4ea5002a8237c1d9a704a46d1ca3bda9f2ae3b7a /FAQ
parent1d88ae3b57489e653d9b253fa5b760377ce62711 (diff)
Administrative fixes
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ14
1 files changed, 8 insertions, 6 deletions
diff --git a/FAQ b/FAQ
index 34ef8b8..c9ffe10 100644
--- a/FAQ
+++ b/FAQ
@@ -345,8 +345,11 @@ been able to get to it.
If the thread you're trying to cancel is blocked (for instance, it could be
waiting for data from the network), it will only get cancelled when it unblocks
-(when the data arrives). Unfortunately, there is no way to do so from
-outside the thread.
+(when the data arrives). For true pre-emptive cancelation in these cases,
+pthreads-win32 from snapshot 2004-05-16 can automatically recognise and use the
+QueueUserAPCEx package by Panagiotis E. Hadjidoukas. This package is available
+from the pthreads-win32 ftp site and is included in the pthreads-win32
+self-unpacking zip from 2004-05-16 onwards.
Using deferred cancelation would normally be the way to go, however,
even though the POSIX threads standard lists a number of C library
@@ -385,10 +388,9 @@ Ross
Q 10 How do I create thread-safe applications using
---- pthreadGCE.dll, libpthreadw32.a and Mingw32?
-See Thomas Pfaff's email at:
-http://sources.redhat.com/ml/pthreads-win32/2002/msg00000.html
-
-Later versions should thread-safe.
+This should not be a problem with recent versions of MinGW32.
+For early versions, see Thomas Pfaff's email at:
+http://sources.redhat.com/ml/pthreads-win32/2002/msg00000.html
------------------------------------------------------------------------------