Ignore:
Timestamp:
Aug 18, 2020, 11:35:40 AM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
794db28
Parents:
1095ccd
Message:

Set leader lock as default for I/O, which seems the better default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io/types.hfa

    r1095ccd rd2b5d2d  
    2323      #include "bits/locks.hfa"
    2424
    25         // #define LEADER_LOCK
     25        #define LEADER_LOCK
    2626        struct __leaderlock_t {
    2727                struct $thread * volatile value;        // ($thread) next_leader | (bool:1) is_locked
Note: See TracChangeset for help on using the changeset viewer.