diff options
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; |
