diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-11 12:08:10 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-11 12:08:10 -0400 |
| commit | 20a19f433956f063d8048f032aaf5dcce1d61e7c (patch) | |
| tree | c9720211c62e75a245c252c82f6353e5162fcb86 /docs/application/pool.md | |
| parent | 51d055dc7e1a6edbaedb7ea80b1e678eff924fe0 (diff) | |
add algo for mutating shared object
Diffstat (limited to 'docs/application/pool.md')
| -rw-r--r-- | docs/application/pool.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/application/pool.md b/docs/application/pool.md index ddbd3ee..8b57ee7 100644 --- a/docs/application/pool.md +++ b/docs/application/pool.md @@ -17,7 +17,7 @@ typedef strut { _Atomic int32_t allocs; kpl_pool_obj *root; kpl_pool_on_fn *on_init, *on_free; - pthread_mutex_t mutex; + pthread_spinlock_t lock; } kpl_pool; static kpl_pool_obj *kpl_pool_head; |
