- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel_private.hfa
r254ad1b rfc59df78 29 29 extern "C" { 30 30 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 35 void __schedule_thread( $thread * ) 36 #if defined(NDEBUG) || (!defined(__CFA_DEBUG__) && !defined(__CFA_VERIFY__)) 37 __attribute__((nonnull (1))) 38 #endif 39 ; 35 40 36 41 extern bool __preemption_enabled(); … … 284 289 285 290 //----------------------------------------------------------------------- 286 // pop thread from the ready queueof a cluster291 // pop thread from the local queues of a cluster 287 292 // returns 0p if empty 288 293 // May return 0p spuriously … … 290 295 291 296 //----------------------------------------------------------------------- 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 293 304 // returns 0p if empty 294 305 // guaranteed to find any threads added before this call 295 __attribute__((hot)) struct $thread * pop_s low(struct cluster * cltr);306 __attribute__((hot)) struct $thread * pop_search(struct cluster * cltr); 296 307 297 308 //-----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.