mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-31 15:00:28 +00:00
Optimize memory layout
Compared to b69f3d2488
, old windows specific fd, zipos and nsync memory ranges in libc/runtime/memtrack.internal.h were kept.
This commit is contained in:
parent
0740e68ea0
commit
555260d2e5
41 changed files with 381 additions and 345 deletions
3
third_party/nsync/atomic.h
vendored
3
third_party/nsync/atomic.h
vendored
|
@ -1,9 +1,10 @@
|
|||
#ifndef NSYNC_ATOMIC_H_
|
||||
#define NSYNC_ATOMIC_H_
|
||||
#include "libc/atomic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
typedef uint32_t nsync_atomic_uint32_;
|
||||
typedef atomic_uint_fast32_t nsync_atomic_uint32_;
|
||||
|
||||
#define NSYNC_ATOMIC_UINT32_INIT_ 0
|
||||
#define NSYNC_ATOMIC_UINT32_LOAD_(p) (*(p))
|
||||
|
|
1
third_party/nsync/nsync.mk
vendored
1
third_party/nsync/nsync.mk
vendored
|
@ -55,4 +55,3 @@ $(THIRD_PARTY_NSYNC_OBJS): third_party/nsync/nsync.mk
|
|||
|
||||
.PHONY: o/$(MODE)/third_party/nsync
|
||||
o/$(MODE)/third_party/nsync: $(THIRD_PARTY_NSYNC_CHECKS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue