Ignore:
File:
1 edited

Legend:

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

    r254ad1b rfc59df78  
    2929extern "C" {
    3030        void disable_interrupts() OPTIONAL_THREAD;
    31         void enable_interrupts( bool poll = true );
    32 }
    33 
    34 void schedule_thread$( $thread * ) __attribute__((nonnull (1)));
     31        void enable_interrupts_noPoll();
     32        void enable_interrupts( __cfaabi_dbg_ctx_param );
     33}
     34
     35void __schedule_thread( $thread * )
     36#if defined(NDEBUG) || (!defined(__CFA_DEBUG__) && !defined(__CFA_VERIFY__))
     37        __attribute__((nonnull (1)))
     38#endif
     39;
    3540
    3641extern bool __preemption_enabled();
     
    284289
    285290//-----------------------------------------------------------------------
    286 // pop thread from the ready queue of a cluster
     291// pop thread from the local queues of a cluster
    287292// returns 0p if empty
    288293// May return 0p spuriously
     
    290295
    291296//-----------------------------------------------------------------------
    292 // 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
    293304// returns 0p if empty
    294305// guaranteed to find any threads added before this call
    295 __attribute__((hot)) struct $thread * pop_slow(struct cluster * cltr);
     306__attribute__((hot)) struct $thread * pop_search(struct cluster * cltr);
    296307
    297308//-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.