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