Changeset d2b5d2d


Ignore:
Timestamp:
Aug 18, 2020, 11:35:40 AM (14 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
794db28
Parents:
1095ccd
Message:

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

Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io.cfa

    r1095ccd rd2b5d2d  
    514514        }
    515515
    516         #define PARTIAL_SUBMIT 32
     516        // #define PARTIAL_SUBMIT 32
    517517        static unsigned __collect_submitions( struct __io_data & ring ) {
    518518                /* paranoid */ verify( ring.submit_q.ready != 0p );
  • 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.