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:
authorCorinna Vinschen <corinna@vinschen.de>2011-05-03 19:58:52 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-05-03 19:58:52 +0400
commit781822a646eb87f01ce47b98dea8fbc7dfc4d177 (patch)
tree76b3d06050a367e5eb83187818ce5bad7697b626 /winsup/cygwin/thread.cc
parent3728c79d484e9fa62dc3306af076c31e998d2ab3 (diff)
* select.cc (cygwin_select): Make degenerate case cancelable.
(select_stuff::destroy): New inline method to delete memory taken by select_stuff. (select_stuff::~select_stuff): Call destroy. (select_stuff::wait): Add case to allow canceling select. * select.h (select_stuff::destroy): Declare. * thread.cc: Mark poll, pselect and poll as cancelable.
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r--winsup/cygwin/thread.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc
index 0085320ad..a521773d8 100644
--- a/winsup/cygwin/thread.cc
+++ b/winsup/cygwin/thread.cc
@@ -597,9 +597,9 @@ pthread::cancel ()
* open ()
* openat ()
* pause ()
- poll ()
+ * poll ()
* pread ()
- pselect ()
+ * pselect ()
* pthread_cond_timedwait ()
* pthread_cond_wait ()
* pthread_join ()
@@ -612,7 +612,7 @@ pthread::cancel ()
* recv ()
* recvfrom ()
* recvmsg ()
- select ()
+ * select ()
* sem_timedwait ()
* sem_wait ()
* send ()