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