mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 14:28:30 +00:00
Improve Windows sleep accuracy from 15ms to 15µs
This commit is contained in:
parent
b40140e6c5
commit
b490e23d63
16 changed files with 189 additions and 67 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "libc/atomic.h"
|
||||
#include "libc/calls/struct/sigset.h"
|
||||
#include "libc/calls/struct/sigval.h"
|
||||
#include "libc/calls/struct/timespec.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/intrin/fds.h"
|
||||
#include "libc/macros.h"
|
||||
|
@ -46,8 +47,8 @@ int _check_signal(bool);
|
|||
int _check_cancel(void);
|
||||
bool _is_canceled(void);
|
||||
int sys_close_nt(int, int);
|
||||
int _park_norestart(uint32_t, uint64_t);
|
||||
int _park_restartable(uint32_t, uint64_t);
|
||||
int _park_norestart(struct timespec, uint64_t);
|
||||
int _park_restartable(struct timespec, uint64_t);
|
||||
int sys_openat_metal(int, const char *, int, unsigned);
|
||||
|
||||
#ifdef __x86_64__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue