mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Fix many thread and file descriptor issues on Windows
The greenbean web server now works nearly perfectly on Windows with over 1000 threads. But some synchronization issues still remain which prevent us from going over nine thousand.
This commit is contained in:
parent
96781d0679
commit
7838edae88
32 changed files with 363 additions and 192 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
static int thepid;
|
||||
static uint128_t thepool;
|
||||
_Alignas(64) static char rand64_lock;
|
||||
_Alignas(64) static int rand64_lock;
|
||||
|
||||
/**
|
||||
* Returns nondeterministic random data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue