mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-15 07:19:18 +00:00
Improve threading support further
This commit is contained in:
parent
8bfb70ca3f
commit
ce71677156
61 changed files with 882 additions and 747 deletions
|
@ -42,7 +42,7 @@ STATIC_YOINK("usr/share/zoneinfo/UTC");
|
|||
** POSIX-style TZ environment variable handling from Guy Harris.
|
||||
*/
|
||||
|
||||
_Alignas(64) static char locallock;
|
||||
_Alignas(64) static int locallock;
|
||||
|
||||
static int lock(void) {
|
||||
_spinlock(&locallock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue