Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-05-13 00:26:43 +0400
committerChristopher Faylor <me@cgf.cx>2012-05-13 00:26:43 +0400
commit1f99484812718c083450dafcd25b249a238e8f5a (patch)
tree2e50e148c386372ecd57ea82b109c21b599aacf8 /winsup/cygwin/DevNotes
parent348b56b5a34e2037b98c30f229b16d1a7468a921 (diff)
* DevNotes: Add entry cgf-000006.
* thread.cc (pthread::pop_cleanup_handler): Set cancel state to disabled to avoid recursively waiting for cancel.
Diffstat (limited to 'winsup/cygwin/DevNotes')
-rw-r--r--winsup/cygwin/DevNotes13
1 files changed, 13 insertions, 0 deletions
diff --git a/winsup/cygwin/DevNotes b/winsup/cygwin/DevNotes
index 5ad1ab8a2..aba32f1a2 100644
--- a/winsup/cygwin/DevNotes
+++ b/winsup/cygwin/DevNotes
@@ -1,3 +1,16 @@
+2012-05-12 cgf-000006
+
+<1.7.16>
+- Fix hang when calling pthread_testcancel in a canceled thread.
+ Fixes some of: http://cygwin.com/ml/cygwin/2012-05/msg00186.html
+</1.7.16>
+
+This should fix the first part of the reported problem in the above
+message. The cancel seemed to actually be working but, the fprintf
+eventually ended up calling pthread_testcancel. Since we'd gotten here
+via a cancel, it tried to recursively call the cancel handler causing a
+recursive loop.
+
2012-05-12 cgf-000005
<1.7.16>