Changeset 420b498 for libcfa/src
- Timestamp:
- Sep 23, 2021, 12:41:19 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- db614d0
- Parents:
- abcae55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
rabcae55 r420b498 245 245 // Mutex 246 246 struct cfathread_mutex { 247 fast_lock impl;247 linear_backoff_then_block_lock impl; 248 248 }; 249 249 int cfathread_mutex_init(cfathread_mutex_t *restrict mut, const cfathread_mutexattr_t *restrict) __attribute__((nonnull (1))) { *mut = new(); return 0; } … … 260 260 // Condition 261 261 struct cfathread_condition { 262 condition_variable( fast_lock) impl;262 condition_variable(linear_backoff_then_block_lock) impl; 263 263 }; 264 264 int cfathread_cond_init(cfathread_cond_t *restrict cond, const cfathread_condattr_t *restrict) __attribute__((nonnull (1))) { *cond = new(); return 0; }
Note: See TracChangeset
for help on using the changeset viewer.