]> sourceware.org Git - newlib-cygwin.git/commit
* thread.h (class pthread): Add bool member canceled.
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 30 Apr 2011 10:20:25 +0000 (10:20 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 30 Apr 2011 10:20:25 +0000 (10:20 +0000)
commit42faed412857d4a0069d982d5c8cfe138b7a0197
tree2b37d7f90e68ee5d30834a9c6d7789f2d6d609f9
parente0b0b9e4ff56b255bb8b2ea9b7e99599ffdbdb56
* thread.h (class pthread): Add bool member canceled.
* thread.cc (pthread::pthread): Initialize canceled to false.
(pthread::cancel): Set canceled before setting cancel_event.
(pthread::testcancel): Check for canceled.  Only wait for cancel_event
if canceled is true.  Explain why.
(pthread::_fixup_after_fork): Set canceled to false.
winsup/cygwin/ChangeLog
winsup/cygwin/thread.cc
winsup/cygwin/thread.h
This page took 0.031765 seconds and 5 git commands to generate.