]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Use a different pthread_once workalike for Windows.
authorNick Bowler <nbowler@draconx.ca>
Thu, 25 Jan 2024 04:19:16 +0000 (23:19 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 25 Jan 2024 05:35:11 +0000 (00:35 -0500)
commitbf336dc52970daa394d119b11284a1b5016a74c0
treebbde0fc9033c4cba6d37477f1beabfed23709056
parentc11f668ec9c5b2f0016cf6920a111c52e895b24a
libcdecl: Use a different pthread_once workalike for Windows.

Replace the windows-once implementation from gnulib with a different
one adapted from the pthreads-win32 library.  This version uses less
static data and does not allocate any Windows resources in the normal
(uncontended) case.
bootstrap
lib/local/modules/dx-threadlib
src/thread-w32.h
t/errthread.c