1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

10 Commits

Author SHA1 Message Date
Andrew Tridgell
19a6878380 r22634: make the events system much less dependent on the samba4 build system
(This used to be commit b0c8c1cd21e3f91431504d70a4bc0d3c6dee6071)
2007-10-10 14:51:56 -05:00
Andrew Bartlett
14503a65ec r20984: Try to ensure we can't have sig_state dissapear before se.
I think this happens when both are eventual children of the autofree context.

(Trying to track down a valgrind error on fort).

Andrew Bartlett
(This used to be commit aee751497ca738fa0de72dd0748590a74d5af2fd)
2007-10-10 14:44:17 -05:00
Andrew Tridgell
45c2b83ec7 r20960: attempt to fix a valgrind error in the signals backend.
This also reduces the static data in the signal backend when not using
signals to 4 bytes.
(This used to be commit 071a6e8eb1861b10b8a7aa61470f21a546ffa0ca)
2007-10-10 14:44:03 -05:00
Andrew Tridgell
fa5e920a7b r20941: avoid races in the block/unblock code
(This used to be commit 83353ec0cd05464abb581f51d8c26ade7f0876fe)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
0c846b1b2d r20940: allow SA_SIGINFO signals to be oneshot. Why you would ever want this
is beyond me :-)
(This used to be commit e892cbdb4bb0779f8abb0902bee4a2e79456808d)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
00e553a272 r20939: reduce the amount of static state for signal handlers from 96k to 1.2k
(This used to be commit bf060ce4fe3b58fc3e58214490c4da9c6644c365)
2007-10-10 14:43:56 -05:00
Andrew Tridgell
2e009caa1b r20938: use a double counter trick to avoid the need for atomic increment
(This used to be commit 7c7b79ed042abebc48d8eaa71c252df3200a84d9)
2007-10-10 14:43:56 -05:00
Volker Lendecke
a8a702a6c9 r20934: I *hate* deep indents :-)
(This used to be commit c98dd55e32a1d2df016e7a4deba218cd54efcdd2)
2007-10-10 14:43:55 -05:00
Andrew Tridgell
cf8eef4ad8 r20930: use sigaction() instead of signal()
add support for sa_flags argument to event_add_signal(). These are
passed to sigaction(). Special handling is provided for SA_RESETHAND
(which tells the event system to remove the handler after the signal)
and SA_SIGINFO which allows the siginfo structure to be received per
signal
(This used to be commit 1bb10b6cf7d717ad21834e73a4ca4b22b5fb6f0a)
2007-10-10 14:43:55 -05:00
Andrew Tridgell
336ae458e9 r20928: added signal events to lib/events
Jeremy asked for this to allow Samba3 to use the Samba4 events library

see torture/local/event.c for an example
(This used to be commit 7e105482ff9a3da6b4708ff99a64f1881614fc5f)
2007-10-10 14:43:54 -05:00