Add pmatomic
Poor man's atomics based on facilities in stdatomic.h; enables writing lock-free code in C11 style, see third_party/pmatomic.h for details
Showing
- src/lib/small/lf_lifo.h 3 additions, 9 deletionssrc/lib/small/lf_lifo.h
- src/lib/small/quota.h 4 additions, 12 deletionssrc/lib/small/quota.h
- src/lib/small/slab_arena.c 3 additions, 1 deletionsrc/lib/small/slab_arena.c
- third_party/pmatomic.h 493 additions, 0 deletionsthird_party/pmatomic.h
- third_party/pmatomic/add-pm-prefix-filt.py 49 additions, 0 deletionsthird_party/pmatomic/add-pm-prefix-filt.py
- third_party/pmatomic/pmatomic.h.proto 493 additions, 0 deletionsthird_party/pmatomic/pmatomic.h.proto
- third_party/pmatomic/stdatomic.h 411 additions, 0 deletionsthird_party/pmatomic/stdatomic.h
Loading
Please register or sign in to comment