Ignore:
Timestamp:
May 21, 2020, 5:12:02 PM (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:
0e4df2e
Parents:
33e62f1b (diff), 2f1cb37 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'relaxed_ready' of plg.uwaterloo.ca:software/cfa/cfa-cc into relaxed_ready

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.hfa

    r33e62f1b r2802824  
    117117struct __io_data;
    118118
    119 #define CFA_CLUSTER_IO_POLLER_USER_THREAD 1 << 0
    120 // #define CFA_CLUSTER_IO_POLLER_KERNEL_SIDE 1 << 1
     119#define CFA_CLUSTER_IO_POLLER_USER_THREAD    1 << 0 // 0x1
     120#define CFA_CLUSTER_IO_POLLER_THREAD_SUBMITS 1 << 1 // 0x2
     121// #define CFA_CLUSTER_IO_POLLER_KERNEL_SIDE 1 << 2 // 0x4
     122#define CFA_CLUSTER_IO_BUFFLEN_OFFSET        16
    121123
    122124
     
    310312extern Duration default_preemption();
    311313
    312 void ?{} (cluster & this, const char name[], Duration preemption_rate, int flags);
     314void ?{} (cluster & this, const char name[], Duration preemption_rate, unsigned flags);
    313315void ^?{}(cluster & this);
    314316
    315 static inline void ?{} (cluster & this)                                      { this{"Anonymous Cluster", default_preemption(), 0}; }
    316 static inline void ?{} (cluster & this, Duration preemption_rate)            { this{"Anonymous Cluster", preemption_rate, 0}; }
    317 static inline void ?{} (cluster & this, const char name[])                   { this{name, default_preemption(), 0}; }
    318 static inline void ?{} (cluster & this, int flags)                           { this{"Anonymous Cluster", default_preemption(), flags}; }
    319 static inline void ?{} (cluster & this, Duration preemption_rate, int flags) { this{"Anonymous Cluster", preemption_rate, flags}; }
    320 static inline void ?{} (cluster & this, const char name[], int flags)        { this{name, default_preemption(), flags}; }
     317static inline void ?{} (cluster & this)                                           { this{"Anonymous Cluster", default_preemption(), 0}; }
     318static inline void ?{} (cluster & this, Duration preemption_rate)                 { this{"Anonymous Cluster", preemption_rate, 0}; }
     319static inline void ?{} (cluster & this, const char name[])                        { this{name, default_preemption(), 0}; }
     320static inline void ?{} (cluster & this, unsigned flags)                           { this{"Anonymous Cluster", default_preemption(), flags}; }
     321static inline void ?{} (cluster & this, Duration preemption_rate, unsigned flags) { this{"Anonymous Cluster", preemption_rate, flags}; }
     322static inline void ?{} (cluster & this, const char name[], unsigned flags)        { this{name, default_preemption(), flags}; }
    321323
    322324static inline [cluster *&, cluster *& ] __get( cluster & this ) __attribute__((const)) { return this.node.[next, prev]; }
Note: See TracChangeset for help on using the changeset viewer.