From: Johannes Schindelin Date: Fri, 30 Nov 2012 17:58:11 GMT Subject: Re: [PATCH/RFC 1/5] mingw: make fgetc raise SIGINT if apropriate Message-ID: In-Reply-To: <1352815447-8824-2-git-send-email-kusmabite@gmail.com> Hi, On Tue, 13 Nov 2012, Erik Faye-Lund wrote: > Set a control-handler to prevent the process from terminating, and > simulate SIGINT so it can be handled by a signal-handler as usual. One thing you might want to mention is that the fgetc() handling is not thread-safe, and intentionally so: if two threads read from the same console, we are in trouble anyway. BTW I like the new mingw_raise() very much! Ciao, Dscho -- *** Please reply-to-all at all times *** *** (do not pretend to know who is subscribed and who is not) *** *** Please avoid top-posting. *** The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free. You received this message because you are subscribed to the Google Groups "msysGit" group. To post to this group, send email to msysgit@googlegroups.com To unsubscribe from this group, send email to msysgit+unsubscribe@googlegroups.com For more options, and view previous threads, visit this group at http://groups.google.com/group/msysgit?hl=en_US?hl=en