Changeset 304de00


Ignore:
Timestamp:
Mar 22, 2021, 4:39:22 PM (3 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.

Location:
libcfa/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/Makefile.am

    rd27b6be r304de00  
    5858        concurrency/iofwd.hfa \
    5959        containers/list.hfa \
     60        containers/queueLockFree.hfa \
    6061        containers/stackLockFree.hfa \
    6162        vec/vec.hfa \
  • 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.