Changeset e0d6748
- Timestamp:
- Apr 15, 2021, 4:13:53 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a0e7d3c
- Parents:
- 3531e09
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel_private.hfa
r3531e09 re0d6748 284 284 // Ready-Queue API 285 285 //----------------------------------------------------------------------- 286 // pop thread from the ready queue of a cluster287 // returns 0p if empty288 __attribute__((hot)) bool query(struct cluster * cltr);289 290 //-----------------------------------------------------------------------291 286 // push thread onto a ready queue for a cluster 292 287 // returns true if the list was previously empty, false otherwise -
libcfa/src/concurrency/ready_queue.cfa
r3531e09 re0d6748 204 204 205 205 //----------------------------------------------------------------------- 206 __attribute__((hot)) bool query(struct cluster * cltr) {207 return true;208 }209 210 206 static inline [unsigned, bool] idx_from_r(unsigned r, unsigned preferred) { 211 207 unsigned i;
Note: See TracChangeset
for help on using the changeset viewer.