Commit 9a9feb78 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use SA_RESTART. Check that SA_RESTART can interrupt select().

parent 9ba71596
2002-10-26 Per Cederqvist <ceder@ceder.dyndns.org>
Use SA_RESTART.
* src/server/ramkomd.c (main): Use SA_RESTART, even though it
potentially will cause lyskomd to block in select() instead of
responding promptly to signals.
Check that SA_RESTART can interrupt select().
* src/server/testsuite/test-select.c: Test if select() can be
interrupted by a signal even when SA_RESTART is specified.
* src/server/testsuite/Makefile.am (check_PROGRAMS): Added
test-select.
(test_select_SOURCES): New variable.
(check): Added check-test-select.
(check-test-select): New target.
* scripts/xenofarm.sh: Added eintr test, to check the
select/SA_RESTART in a separate task.
Fixed a race condition in the test suite.
* src/server/testsuite/tcpconnect.py: Flush stdout more often.
Give feedback on "#supsend socket" and "#resume socket" to avoid a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment