Changes in src/libcfa/concurrency/kernel [1c273d0:c81ebf9]
- File:
-
- 1 edited
-
src/libcfa/concurrency/kernel (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel
r1c273d0 rc81ebf9 28 28 //----------------------------------------------------------------------------- 29 29 // Locks 30 bool try_lock( spinlock * 31 #ifdef __CFA_DEBUG__ 32 , const char * caller 33 #endif 34 ); 35 36 void lock( spinlock * 37 #ifdef __CFA_DEBUG__ 38 , const char * caller 39 #endif 40 ); 41 30 bool try_lock( spinlock * ); 31 void lock( spinlock * ); 42 32 void unlock( spinlock * ); 43 33 … … 88 78 struct processorCtx_t * runner; 89 79 cluster * cltr; 80 coroutine_desc * current_coroutine; 81 thread_desc * current_thread; 90 82 pthread_t kernel_thread; 91 83 … … 98 90 unsigned int preemption; 99 91 92 unsigned short disable_preempt_count; 93 100 94 bool pending_preemption; 101 102 char * last_enable;103 95 }; 104 96
Note:
See TracChangeset
for help on using the changeset viewer.