mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-28 03:44:33 +00:00
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. |
||
|---|---|---|
| .. | ||
| atm_log.c | ||
| atm_log.h | ||
| BUILD.mk | ||
| closure.c | ||
| closure.h | ||
| counter_test.c | ||
| cv2_test.c | ||
| cv3_test.c | ||
| cv_mu_timeout_stress2_test.c | ||
| cv_mu_timeout_stress3_test.c | ||
| cv_mu_timeout_stress_test.c | ||
| cv_mu_timeout_stress_test.inc | ||
| cv_test.c | ||
| cv_test.inc | ||
| cv_wait_example.c | ||
| dll_test.c | ||
| mu2_test.c | ||
| mu3_test.c | ||
| mu_starvation_test_.c | ||
| mu_test.c | ||
| mu_test.inc | ||
| mu_wait2_test.c | ||
| mu_wait3_test.c | ||
| mu_wait_example_test.c | ||
| mu_wait_test.c | ||
| mu_wait_test.inc | ||
| note_test.c | ||
| once_test.c | ||
| pingpong_test.c | ||
| smprintf.c | ||
| smprintf.h | ||
| start_thread.c | ||
| testing.c | ||
| testing.h | ||
| time_extra.c | ||
| time_extra.h | ||
| wait_test.c | ||