- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel_private.hfa (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel_private.hfa
rf558b5f re84ab3d 46 46 } 47 47 48 void schedule_thread$( $thread* ) __attribute__((nonnull (1)));48 void schedule_thread$( thread$ * ) __attribute__((nonnull (1))); 49 49 50 50 extern bool __preemption_enabled(); 51 51 52 52 //release/wake-up the following resources 53 void __thread_finish( $thread* thrd );53 void __thread_finish( thread$ * thrd ); 54 54 55 55 //----------------------------------------------------------------------------- … … 95 95 96 96 __cfaabi_dbg_debug_do( 97 extern void __cfaabi_dbg_thread_register ( $thread* thrd );98 extern void __cfaabi_dbg_thread_unregister( $thread* thrd );97 extern void __cfaabi_dbg_thread_register ( thread$ * thrd ); 98 extern void __cfaabi_dbg_thread_unregister( thread$ * thrd ); 99 99 ) 100 100 … … 105 105 //----------------------------------------------------------------------------- 106 106 // Utils 107 void doregister( struct cluster * cltr, struct $thread& thrd );108 void unregister( struct cluster * cltr, struct $thread& thrd );107 void doregister( struct cluster * cltr, struct thread$ & thrd ); 108 void unregister( struct cluster * cltr, struct thread$ & thrd ); 109 109 110 110 //----------------------------------------------------------------------------- … … 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, bool local);302 __attribute__((hot)) void push(struct cluster * cltr, struct thread$ * thrd, bool local); 303 303 304 304 //----------------------------------------------------------------------- … … 306 306 // returns 0p if empty 307 307 // May return 0p spuriously 308 __attribute__((hot)) struct $thread* pop_fast(struct cluster * cltr);308 __attribute__((hot)) struct thread$ * pop_fast(struct cluster * cltr); 309 309 310 310 //----------------------------------------------------------------------- … … 312 312 // returns 0p if empty 313 313 // May return 0p spuriously 314 __attribute__((hot)) struct $thread* pop_slow(struct cluster * cltr);314 __attribute__((hot)) struct thread$ * pop_slow(struct cluster * cltr); 315 315 316 316 //----------------------------------------------------------------------- … … 318 318 // returns 0p if empty 319 319 // guaranteed to find any threads added before this call 320 __attribute__((hot)) struct $thread* pop_search(struct cluster * cltr);320 __attribute__((hot)) struct thread$ * pop_search(struct cluster * cltr); 321 321 322 322 //-----------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.