mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Harden against aba problem
This commit is contained in:
parent
610c951f71
commit
884d89235f
8 changed files with 212 additions and 85 deletions
|
@ -29,7 +29,7 @@ struct Map {
|
|||
struct Maps {
|
||||
struct Tree *maps;
|
||||
_Atomic(uint64_t) lock;
|
||||
_Atomic(struct Map *) freed;
|
||||
_Atomic(uintptr_t) freed;
|
||||
size_t count;
|
||||
size_t pages;
|
||||
_Atomic(char *) pick;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue