Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 20 of 20) sorted by relevance

/libevent-2.1.12/sample/
H A Dsignal-test.c34 struct event *signal = arg; in signal_cb() local
36 printf("signal_cb: got signal %d\n", event_get_signal(signal)); in signal_cb()
39 event_del(signal); in signal_cb()
H A Dinclude.am13 sample/signal-test \
47 sample_signal_test_SOURCES = sample/signal-test.c
H A Dhttp-server.c465 if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) { in main()
/libevent-2.1.12/
H A DChangeLog-1.410 o Fix memory-leak of signal handler array with kqueue. [backport] (01f3775)
11 o Update sample/signal-test.c to use newer APIs and not leak. (891765c Evan Jones)
25 o Clean up properly when adding a signal handler fails. (ae6ece0 Gilad Benjamini)
60 o bug fix and potential race condition in signal handling; from Alexander Drozdov
63 o fix signal processing when a signal callback delivers a signal; from Alexander Drozdov
95 …o Support multiple events listening on the same signal; make signals regular events that go on the…
160 o debug cleanups in signal.c; from Christopher Layne
164 …o Make kqueue have the same behavior as other backends when a signal is caught between event_add()…
165 o Make kqueue restore signal handlers correctly when event_del() is called.
229 …o When calling event_del on a signal, restore the signal handler's previous value rather than sett…
H A Dsignal.c267 if ((sh = signal(evsignal, handler)) == SIG_ERR) { in evsig_set_handler_()
351 if (signal(evsignal, *sh) == SIG_ERR) { in evsig_restore_handler_()
395 signal(sig, evsig_handler); in evsig_handler()
H A DMakefile.nmake34 strlcpy.obj signal.obj bufferevent_filter.obj evthread.obj \
H A D.gitignore99 /sample/signal-test
H A DChangeLog-2.0459 o Fix signal handler types for win64. (b81217f)
534 O Make default signal backend fully threadsafe (95a7d41)
586 o Declare signal handler function as "__cdecl" on Windows (f0056d0)
904 o Fix memory-leak of signal handler array with kqueue. (e1ffbb8)
917 o Update sample/signal-test.c to use newer APIs and not leak. (f6430ac Evan Jones)
1088 o Use signal.h, not sys/signal.h. [Patch from mmadia]
1133 o debug cleanups in signal.c; from Christopher Layne
1138 o Check return value of event_add in signal.c
1142 …o The kqueue implementation now restores original signal handlers correctly when its signal events…
1143 o Check return value of event_add in signal.c
[all …]
H A DMakefile.am221 SYS_SRC += signal.c
H A DCMakeLists.txt371 signal.h
448 signal
816 signal.c
1017 signal-test
H A Dwhatsnew-2.1.txt146 an event while leaving its socket and/or signal triggers unchanged.
157 You can now activate all the events waiting for a given fd or signal
520 and every pending fd or signal event is stored in an evmap. Libevent
H A DChangeLog41 o Merge branch 'fix-signal-leak' (poll/select now needs reinit) (1c9cc07b Azat Khuzhin)
169 o signal: guard __cdecl definition with #ifdef (d89045a6 Azat Khuzhin)
173 o Use kill() over raise() for raising the signal (fixes osx 10.14 with
430 o event_reinit: always re-init signal's socketpair (ad0c237 Nicholas Marriott)
546 … o test/regress: cover existing signal callbacks and fork() + event_reinit() (ceddc60 Azat Khuzhin)
598 o Fix memory leak in signal-test.c (666db91 basavesh.as)
1097 o Refactor evmap_{io,signal}_active_() to tolerate bad inputs (974c60e)
1619 …o When a signal callback is activated to run multiple times, allow event_base_loopbreak to work ev…
2109 o Use SIG_IGN instead of a do-nothing handler for signal events with
H A Devent-config.h.cmake259 /* Define to 1 if you have the `signal' function. */
H A Dconfigure.ac383 signal \
H A Dwhatsnew-2.0.txt263 creation. The new event_base_init_common_timeout() logic lets you signal
/libevent-2.1.12/test/
H A Dtest-weof.c95 if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) in main()
H A Dbench_http.c100 if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) in main()
H A Dregress_main.c489 if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) in main()
H A Dtest-ratelim.c643 if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) in main()
H A Dregress.c1368 if (signal(SIGUSR1, signal_cb_sa) == SIG_ERR) in test_signal_restore()