Changes in src/libcfa/concurrency/kernel [b227f68:c81ebf9]
- File:
-
- 1 edited
-
src/libcfa/concurrency/kernel (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel
rb227f68 rc81ebf9 28 28 //----------------------------------------------------------------------------- 29 29 // Locks 30 bool try_lock ( spinlock * DEBUG_CTX_PARAM2 ); 31 void lock ( spinlock * DEBUG_CTX_PARAM2 ); 32 void lock_yield( spinlock * DEBUG_CTX_PARAM2 ); 33 void unlock ( spinlock * ); 30 bool try_lock( spinlock * ); 31 void lock( spinlock * ); 32 void unlock( spinlock * ); 34 33 35 34 struct signal_once { … … 69 68 unsigned short thrd_count; 70 69 }; 71 static inline void ?{}(FinishAction * this) { 70 static inline void ?{}(FinishAction * this) { 72 71 this->action_code = No_Action; 73 72 this->thrd = NULL; … … 79 78 struct processorCtx_t * runner; 80 79 cluster * cltr; 80 coroutine_desc * current_coroutine; 81 thread_desc * current_thread; 81 82 pthread_t kernel_thread; 82 83 83 84 signal_once terminated; 84 85 volatile bool is_terminated; … … 89 90 unsigned int preemption; 90 91 92 unsigned short disable_preempt_count; 93 91 94 bool pending_preemption; 92 93 char * last_enable;94 95 }; 95 96
Note:
See TracChangeset
for help on using the changeset viewer.