Changes in src/libcfa/concurrency/kernel [c81ebf9:2ac095d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel
rc81ebf9 r2ac095d 28 28 //----------------------------------------------------------------------------- 29 29 // Locks 30 bool try_lock( spinlock * );31 void lock ( spinlock *);32 void unlock ( spinlock * );30 bool try_lock( spinlock * DEBUG_CTX_PARAM2 ); 31 void lock ( spinlock * DEBUG_CTX_PARAM2 ); 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;82 80 pthread_t kernel_thread; 83 81 84 82 signal_once terminated; 85 83 volatile bool is_terminated; … … 90 88 unsigned int preemption; 91 89 92 unsigned short disable_preempt_count;90 bool pending_preemption; 93 91 94 bool pending_preemption;92 char * last_enable; 95 93 }; 96 94
Note: See TracChangeset
for help on using the changeset viewer.