Changes in src/libcfa/concurrency/kernel [6b4cdd3:85b1deb]
- File:
-
- 1 edited
-
src/libcfa/concurrency/kernel (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel
r6b4cdd3 r85b1deb 113 113 pthread_t kernel_thread; 114 114 115 // RunThread data 116 // Action to do after a thread is ran 117 struct FinishAction finish; 118 119 // Preemption data 120 // Node which is added in the discrete event simulaiton 121 struct alarm_node_t * preemption_alarm; 122 123 // If true, a preemption was triggered in an unsafe region, the processor must preempt as soon as possible 124 bool pending_preemption; 125 126 // Idle lock 127 __bin_sem_t idleLock; 128 115 129 // Termination 116 130 // Set to true to notify the processor should terminate … … 120 134 semaphore terminated; 121 135 122 // RunThread data123 // Action to do after a thread is ran124 struct FinishAction finish;125 126 // Preemption data127 // Node which is added in the discrete event simulaiton128 struct alarm_node_t * preemption_alarm;129 130 // If true, a preemption was triggered in an unsafe region, the processor must preempt as soon as possible131 bool pending_preemption;132 133 // Idle lock134 sem_t idleLock;135 136 136 // Link lists fields 137 struct {137 struct __dbg_node_proc { 138 138 struct processor * next; 139 139 struct processor * prev; … … 182 182 183 183 // Link lists fields 184 struct {184 struct __dbg_node_cltr { 185 185 cluster * next; 186 186 cluster * prev;
Note:
See TracChangeset
for help on using the changeset viewer.