Changeset 5c04e82 for libcfa/src/concurrency/clib/cfathread.cfa
- Timestamp:
- Apr 24, 2021, 7:27:45 PM (2 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- fc59df78
- Parents:
- 3bd4293
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
r3bd4293 r5c04e82 243 243 // Mutex 244 244 struct cfathread_mutex { 245 single_acquisition_lock impl;245 fast_lock impl; 246 246 }; 247 247 int cfathread_mutex_init(cfathread_mutex_t *restrict mut, const cfathread_mutexattr_t *restrict) __attribute__((nonnull (1))) { *mut = new(); return 0; } … … 258 258 // Condition 259 259 struct cfathread_condition { 260 condition_variable( single_acquisition_lock) impl;260 condition_variable(fast_lock) impl; 261 261 }; 262 262 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.