Changeset fc59df78 for libcfa/src/concurrency/kernel_private.hfa
- Timestamp:
- Apr 24, 2021, 7:36:42 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 89eff25
- Parents:
- 5c04e82
- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel_private.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel_private.hfa
r5c04e82 rfc59df78 289 289 290 290 //----------------------------------------------------------------------- 291 // pop thread from the ready queueof a cluster291 // pop thread from the local queues of a cluster 292 292 // returns 0p if empty 293 293 // May return 0p spuriously … … 295 295 296 296 //----------------------------------------------------------------------- 297 // pop thread from the ready queue of a cluster 297 // pop thread from any ready queue of a cluster 298 // returns 0p if empty 299 // May return 0p spuriously 300 __attribute__((hot)) struct $thread * pop_slow(struct cluster * cltr); 301 302 //----------------------------------------------------------------------- 303 // search all ready queues of a cluster for any thread 298 304 // returns 0p if empty 299 305 // guaranteed to find any threads added before this call 300 __attribute__((hot)) struct $thread * pop_s low(struct cluster * cltr);306 __attribute__((hot)) struct $thread * pop_search(struct cluster * cltr); 301 307 302 308 //-----------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.