Changeset e60e0dc for src/libcfa/concurrency/kernel_private.h
- Timestamp:
- Jul 17, 2017, 3:54:02 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 5bd0aad
- Parents:
- b706db1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel_private.h
rb706db1 re60e0dc 45 45 thread_desc * nextThread(cluster * this); 46 46 47 //Block current thread and release/wake-up the following resources 47 48 void BlockInternal(void); 48 49 void BlockInternal(spinlock * lock); … … 67 68 struct system_proc_t { 68 69 processor proc; 70 }; 69 71 72 struct event_kernel_t { 70 73 alarm_list_t alarms; 71 spinlock alarm_lock; 72 73 bool pending_alarm; 74 spinlock lock; 74 75 }; 75 76 76 77 extern cluster * systemCluster; 77 78 extern system_proc_t * systemProcessor; 79 extern event_kernel_t * event_kernel; 80 78 81 extern volatile thread_local processor * this_processor; 79 82 extern volatile thread_local coroutine_desc * this_coroutine;
Note: See TracChangeset
for help on using the changeset viewer.