Ignore:
Timestamp:
Mar 22, 2021, 4:39:22 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1c6e1ec
Parents:
d27b6be
Message:

Added queueLockFree which contains two lockfree queue based on MCS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/invoke.h

    rd27b6be r304de00  
    224224                }
    225225
     226                static inline $thread * volatile & ?`next ( $thread * this )  __attribute__((const)) {
     227                        return this->seqable.back;
     228                }
     229
    226230                static inline $thread *& Back( $thread * this ) __attribute__((const)) {
    227231                        return this->seqable.back;
Note: See TracChangeset for help on using the changeset viewer.