cosmopolitan/test/libc
Justine Tunney 49b0eaa69f
Improve threading and i/o routines
- On Windows connect() can now be interrupted by a signal; connect() w/
  O_NONBLOCK will now raise EINPROGRESS; and connect() with SO_SNDTIMEO
  will raise ETIMEDOUT after the interval has elapsed.

- We now get the AcceptEx(), ConnectEx(), and TransmitFile() functions
  from the WIN32 API the officially blessed way, using WSAIoctl().

- Do nothing on Windows when fsync() is called on a directory handle.
  This was raising EACCES earlier becaues GENERIC_WRITE is required on
  the handle. It's possible to FlushFileBuffers() a directory handle if
  it's opened with write access but MSDN doesn't document what it does.
  If you have any idea, please let us know!

- Prefer manual reset event objects for read() and write() on Windows.

- Do some code cleanup on our dlmalloc customizations.

- Fix errno type error in Windows blocking routines.

- Make the futex polyfill simpler and faster.
2023-10-12 23:13:04 -07:00
..
calls Introduce posix_spawn_file_actions_addchdir_np() 2023-10-11 21:45:32 -07:00
dns Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
fmt Make improvements 2023-10-03 06:17:16 -07:00
intrin Make improvements 2023-09-18 21:04:47 -07:00
log Make improvements 2023-09-18 21:04:47 -07:00
mem Make improvements 2023-09-18 21:04:47 -07:00
nexgen32e Make improvements 2023-09-18 21:04:47 -07:00
proc Introduce posix_spawn_file_actions_addchdir_np() 2023-10-11 21:45:32 -07:00
release Refactor fatcosmocc into a single file 2023-08-14 22:26:17 -07:00
runtime Revert "Rewrite ZipOS" 2023-10-03 14:40:03 -07:00
sock Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
stdio Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
str Remove Windows executable path guessing logic 2023-09-21 08:13:50 -07:00
thread Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
time Make improvements 2023-10-03 06:17:16 -07:00
tinymath Fix strtod NaN handling / fix SIGSEGV in testlib/showerror (#901) 2023-09-27 00:16:36 -07:00
x Make improvements 2023-09-18 21:04:47 -07:00
xed Make improvements 2023-09-06 12:34:59 -07:00
test.mk Make improvements 2023-09-18 21:04:47 -07:00