signal.c


Log

Author Commit Date CI Message
Nick Mathewson 499d0039 2009-05-22T15:09:43 Try to contain the failure when we are running without socketpair(). Some win32 systems (mostly those using Kaspersky, it would seem) prevent us from faking socketpair(). This makes our signal notification code just not work. Our response since 1.4 has been to assert. For users who would rather work without signals than not work at all, this has been a regression from 1.3e. This patch makes adding signal events fail in this case; there's no reason to kill the whole process. svn:r1304
Niels Provos 092baefa 2009-01-22T06:26:32 from trunk: fix signal processing for non-kqueue backends; when a signal callback delivers a signal; from Alexander Drozdov svn:r1036
Niels Provos 0ede290b 2009-01-19T23:42:19 from trunk: bug fix and potentital race condition from Alexander Drozdov svn:r1026
Niels Provos 7c7ab279 2008-07-25T00:53:17 from trunk: fix a problem with epoll() and reinit; repoted by Alexander Drozdov svn:r919
Niels Provos 21c56289 2008-07-19T23:41:33 from trunk: restore signal handlers correctly when we deallocate the signal base svn:r914
Niels Provos 58bfed9e 2008-07-11T16:06:04 from trunk: assert(a & b) -> assert(a && b) svn:r904
Niels Provos 0e535d2f 2008-07-11T15:59:29 from trunk: support multiple events listening on the same signal; make signals regular events that go on the same event queue svn:r902
Nick Mathewson c807358f 2008-05-09T03:59:57 r19666@catbus: nickm | 2008-05-08 23:49:18 -0400 Always include winsock2.h before windows.h. Apparently some SDKs need this. svn:r802
Niels Provos d58a0a7c 2008-05-04T00:52:57 revert to maintain stability: from trunk: separate signal events from io events svn:r764
Niels Provos 974a7543 2008-05-03T21:40:32 from trunk: separate signal events from io events svn:r761
Niels Provos 108ee5f3 2007-12-19T04:52:28 from trunk: r15171@tombo: nickm | 2007-12-06 12:47:47 -0500 Use GCC attributes (where available) to verify printf type-correctness. Fix some bugs this turned up. svn:r603
Niels Provos 3368cc79 2007-12-18T03:50:04 from trunk: r16733@catbus: nickm | 2007-11-26 14:18:25 -0500 Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler. Also, make the code all build happily with these warnings. svn:r601
Nick Mathewson 5ff1fd7a 2007-11-25T17:15:39 r14945@tombo: nickm | 2007-11-25 12:13:05 -0500 Make kqueue pass more unit tests. (Backport) svn:r545
Niels Provos 40cd2ce3 2007-11-13T17:38:39 from trunk: debug cleanups in signal.c; from Christopher Layne svn:r528
Niels Provos 6b4342db 2007-11-12T02:37:25 copy trunk to 1.4 svn:r512