- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel_private.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel_private.hfa
r24e321c re84ab3d 46 46 } 47 47 48 void schedule_thread$( thread$ * , unpark_hint hint) __attribute__((nonnull (1)));48 void schedule_thread$( thread$ * ) __attribute__((nonnull (1))); 49 49 50 50 extern bool __preemption_enabled(); … … 300 300 // push thread onto a ready queue for a cluster 301 301 // returns true if the list was previously empty, false otherwise 302 __attribute__((hot)) void push(struct cluster * cltr, struct thread$ * thrd, unpark_hint hint);302 __attribute__((hot)) void push(struct cluster * cltr, struct thread$ * thrd, bool local); 303 303 304 304 //----------------------------------------------------------------------- … … 321 321 322 322 //----------------------------------------------------------------------- 323 // get preferred ready for new thread324 unsigned ready_queue_new_preferred();325 326 //-----------------------------------------------------------------------327 323 // Increase the width of the ready queue (number of lanes) by 4 328 324 void ready_queue_grow (struct cluster * cltr);
Note:
See TracChangeset
for help on using the changeset viewer.