diff options
author | Christopher Faylor <me@cgf.cx> | 2012-06-03 06:59:20 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-06-03 06:59:20 +0400 |
commit | 45b61a88becdc9477826f6576b97e75b8ee49f37 (patch) | |
tree | 5e200dcbb1f35953d8ba1391de2b7086f14eeaec /winsup/cygwin/release | |
parent | faab45455a469db4ca5c4d230e7dd97dfa56382c (diff) |
* DevNotes: Add entry cgf-000010.
* select.cc (set_handle_or_return_if_not_open): Remove unneeded final backslash
from definition.
(cygwin_select): Reorganize to incorporate outer retry loop. Move remaining
time recalculation here for retry case. Use select_stuff::wait_states for loop
control.
(select_stuff::cleanup): Avoid unneeded initialization.
(select_stuff::wait): Modify definition to return select_stuff::wait_states.
Eliminate is_cancelable. Don't element 1 of an array if it is a cancel handle.
Remove loop. Rely on being called from enclosing loop in cygwin_select.
Remove time recalculation when restarting. Try harder to always return from
the bottom.
* select.h (select_stuff::wait_state): New enum.
(select_stuff::wait): Modify declaration to return select_stuff::wait_states.
Diffstat (limited to 'winsup/cygwin/release')
-rw-r--r-- | winsup/cygwin/release/1.7.16 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/release/1.7.16 b/winsup/cygwin/release/1.7.16 index 31aed4512..1916e6db9 100644 --- a/winsup/cygwin/release/1.7.16 +++ b/winsup/cygwin/release/1.7.16 @@ -24,3 +24,8 @@ Bug fixes: - Handle inode numbers returned by Samba >= 3.5.4. Fixes: http://cygwin.com/ml/cygwin/2012-05/msg00236.html + +- Fix emacs problem which exposed an issue with Cygwin's select() function. + If a signal arrives while select is blocking and the program longjmps + out of the signal handler then threads and memory may be left hanging. + Fixes: http://cygwin.com/ml/cygwin/2012-05/threads.html#00275 |