Changeset 37ba662 for libcfa/src/concurrency/invoke.h
- Timestamp:
- Jun 16, 2020, 3:32:00 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 04b5cef
- Parents:
- 2073d207
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
r2073d207 r37ba662 182 182 //SKULLDUGGERY errno is not save in the thread data structure because returnToKernel appears to be the only function to require saving and restoring it 183 183 184 // coroutine body used to store context185 struct $coroutine self_cor;186 187 // current active context188 struct $coroutine * curr_cor;189 190 // monitor body used for mutual exclusion191 struct $monitor self_mon;192 193 // pointer to monitor with sufficient lifetime for current monitors194 struct $monitor * self_mon_p;195 196 184 // pointer to the cluster on which the thread is running 197 185 struct cluster * curr_cluster; 198 199 // monitors currently held by this thread200 struct __monitor_group_t monitors;201 186 202 187 // Link lists fields 203 188 // instrusive link field for threads 204 189 struct __thread_desc_link link; 190 191 // coroutine body used to store context 192 struct $coroutine self_cor; 193 194 // current active context 195 struct $coroutine * curr_cor; 196 197 // monitor body used for mutual exclusion 198 struct $monitor self_mon; 199 200 // pointer to monitor with sufficient lifetime for current monitors 201 struct $monitor * self_mon_p; 202 203 // monitors currently held by this thread 204 struct __monitor_group_t monitors; 205 205 206 206 struct {
Note: See TracChangeset
for help on using the changeset viewer.