cosmopolitan/third_party/nsync/testing
Justine Tunney 87a6669900
Make more Windows socket fixes and improvements
This change makes send() / sendto() always block on Windows. It's needed
because poll(POLLOUT) doesn't guarantee a socket is immediately writable
on Windows, and it caused rsync to fail because it made that assumption.
The only exception is when a SO_SNDTIMEO is specified which will EAGAIN.

Tests are added confirming MSG_WAITALL and MSG_NOSIGNAL work as expected
on all our supported OSes. Most of the platform-specific MSG_FOO magnums
have been deleted, with the exception of MSG_FASTOPEN. Your --strace log
will now show MSG_FOO flags as symbols rather than numbers.

I've also removed cv_wait_example_test because it's 0.3% flaky with Qemu
under system load since it depends on a process being readily scheduled.
2024-09-18 20:29:42 -07:00
..
atm_log.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
atm_log.h Add *NSYNC unit test suite 2022-10-07 21:34:15 -07:00
BUILD.mk Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
closure.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
closure.h Reduce header complexity 2023-11-28 14:39:42 -08:00
counter_test.c Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00
cv2_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
cv3_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
cv_mu_timeout_stress2_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
cv_mu_timeout_stress3_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
cv_mu_timeout_stress_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
cv_mu_timeout_stress_test.inc Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
cv_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
cv_test.inc Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
cv_wait_example.c Make more Windows socket fixes and improvements 2024-09-18 20:29:42 -07:00
dll_test.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
mu2_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
mu3_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
mu_starvation_test_.c Reduce latency of poll() on Windows 2024-09-10 04:12:21 -07:00
mu_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
mu_test.inc Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
mu_wait2_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
mu_wait3_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
mu_wait_example_test.c Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00
mu_wait_test.c Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
mu_wait_test.inc Make recursive mutexes faster 2024-09-10 00:08:59 -07:00
note_test.c Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00
once_test.c Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00
pingpong_test.c Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00
smprintf.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
smprintf.h Add *NSYNC unit test suite 2022-10-07 21:34:15 -07:00
start_thread.c Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00
testing.c Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00
testing.h Reduce header complexity 2023-11-28 14:39:42 -08:00
time_extra.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
time_extra.h Clean up some sleep code 2022-10-08 03:00:48 -07:00
wait_test.c Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00