diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-13 19:03:37 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-13 19:03:37 -0400 |
| commit | 7fd642630ee17f7150c1b881631acbe422b3a26b (patch) | |
| tree | 55e34ae5a391b2fea34e3285f703262d4edb49ae /docs/application/shared.md | |
| parent | 59e9416150b9f0ac01b57e7fe30c893f247bc8f6 (diff) | |
gnu99
Diffstat (limited to 'docs/application/shared.md')
| -rw-r--r-- | docs/application/shared.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/application/shared.md b/docs/application/shared.md index cbb773e..c5d7e9e 100644 --- a/docs/application/shared.md +++ b/docs/application/shared.md @@ -7,14 +7,14 @@ ```c typedef struct _kpl_shared { KPL_POOL_HEADER(_kpl_shared); - atomic_flag mutating; + _Atomic bool mutating; bool mark; kpl_class class; kpl_task *queue_head, queue_tail; pthread_mutex_t queue_mutex; } kpl_shared; -static atomic_int_fast32_t shared_threads_marked; +static _Atomic int32_t shared_threads_marked; static kpl_shared *shared_pool_sweep, *shared_pool; |
