Changeset 9cc3a18 for libcfa/src/concurrency/kernel_private.hfa
- Timestamp:
- Apr 15, 2021, 5:02:04 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:
- 6abcb4d
- Parents:
- 57b3675
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel_private.hfa
r57b3675 r9cc3a18 286 286 // push thread onto a ready queue for a cluster 287 287 // returns true if the list was previously empty, false otherwise 288 __attribute__((hot)) boolpush(struct cluster * cltr, struct $thread * thrd);288 __attribute__((hot)) void push(struct cluster * cltr, struct $thread * thrd); 289 289 290 290 //----------------------------------------------------------------------- … … 301 301 302 302 //----------------------------------------------------------------------- 303 // remove thread from the ready queue of a cluster304 // returns bool if it wasn't found305 bool remove_head(struct cluster * cltr, struct $thread * thrd);306 307 //-----------------------------------------------------------------------308 303 // Increase the width of the ready queue (number of lanes) by 4 309 304 void ready_queue_grow (struct cluster * cltr);
Note: See TracChangeset
for help on using the changeset viewer.