mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Make posix_spawn faster on Windows
This commit is contained in:
parent
d6f72aa4a6
commit
ec957491ea
15 changed files with 514 additions and 123 deletions
|
@ -16,6 +16,7 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/atomic.h"
|
||||
#include "libc/calls/blockcancel.internal.h"
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/calls/cp.internal.h"
|
||||
|
@ -33,7 +34,7 @@
|
|||
#include "libc/sysv/errfuns.h"
|
||||
|
||||
static struct CopyFileRange {
|
||||
_Atomic(uint32_t) once;
|
||||
atomic_uint once;
|
||||
bool ok;
|
||||
} g_copy_file_range;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue