Ignore:
Timestamp:
Apr 24, 2021, 7:36:42 PM (7 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
89eff25
Parents:
5c04e82
Message:

Split ready-queue routines in 3 instead of 2.

File:
1 edited

Legend:

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

    r5c04e82 rfc59df78  
    289289
    290290//-----------------------------------------------------------------------
    291 // pop thread from the ready queue of a cluster
     291// pop thread from the local queues of a cluster
    292292// returns 0p if empty
    293293// May return 0p spuriously
     
    295295
    296296//-----------------------------------------------------------------------
    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
    298304// returns 0p if empty
    299305// guaranteed to find any threads added before this call
    300 __attribute__((hot)) struct $thread * pop_slow(struct cluster * cltr);
     306__attribute__((hot)) struct $thread * pop_search(struct cluster * cltr);
    301307
    302308//-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.