This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

signal implementation bugs


Hi, there,

i have been trying to use the latest version of Cygwin to 
port a simple program that uses TCP sockets. the program 
uses blocking calls, such as recv(), connect(), or accept(), 
and uses alarm() to set timeouts on them. much to my 
disappointment, i found that signal delivery does not 
interrupt these calls under cygwin. not only that, but 
doing siglongjump() from the signal handler to the main 
program (in order to abort the timed out blocked call), 
also doesn't work. is there any way to fix this? other
than using non-blocking i/o and select() which i assume
would work.

tosh

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]