Changeset f53acdf8 for libcfa/src/concurrency
- Timestamp:
- Jul 19, 2019, 2:16:01 PM (6 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:
- 4eb43fa
- Parents:
- 1f1c102 (diff), 8ac3b0e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- libcfa/src/concurrency
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/alarm.cfa
r1f1c102 rf53acdf8 13 13 // Update Count : 67 14 14 // 15 16 #define __cforall_thread__ 15 17 16 18 extern "C" { -
libcfa/src/concurrency/coroutine.cfa
r1f1c102 rf53acdf8 13 13 // Update Count : 9 14 14 // 15 16 #define __cforall_thread__ 15 17 16 18 #include "coroutine.hfa" … … 98 100 99 101 void ^?{}(coroutine_desc& this) { 100 if(this.state != Halted && this.state != Start ) {102 if(this.state != Halted && this.state != Start && this.state != Primed) { 101 103 coroutine_desc * src = TL_GET( this_thread )->curr_cor; 102 104 coroutine_desc * dst = &this; -
libcfa/src/concurrency/invoke.c
r1f1c102 rf53acdf8 13 13 // Update Count : 5 14 14 // 15 16 #define __cforall_thread__ 15 17 16 18 #include <stdbool.h> … … 31 33 extern void __finish_creation( struct thread_desc * ); 32 34 extern void __leave_thread_monitor( struct thread_desc * this ); 33 extern void disable_interrupts() ;35 extern void disable_interrupts() OPTIONAL_THREAD; 34 36 extern void enable_interrupts( __cfaabi_dbg_ctx_param ); 35 37 -
libcfa/src/concurrency/invoke.h
r1f1c102 rf53acdf8 46 46 #ifdef __cforall 47 47 extern "Cforall" { 48 static inline struct thread_desc *& get_next( struct thread_desc & this );49 static inline struct __condition_criterion_t *& get_next( struct __condition_criterion_t & this );50 51 48 extern thread_local struct KernelThreadData { 52 49 struct thread_desc * volatile this_thread; -
libcfa/src/concurrency/kernel.cfa
r1f1c102 rf53acdf8 13 13 // Update Count : 25 14 14 // 15 16 #define __cforall_thread__ 15 17 16 18 //C Includes … … 943 945 } 944 946 ) 947 948 //----------------------------------------------------------------------------- 949 // Debug 950 bool threading_enabled(void) { 951 return true; 952 } 945 953 // Local Variables: // 946 954 // mode: c // -
libcfa/src/concurrency/kernel_private.hfa
r1f1c102 rf53acdf8 26 26 27 27 extern "C" { 28 void disable_interrupts() ;28 void disable_interrupts() OPTIONAL_THREAD; 29 29 void enable_interrupts_noPoll(); 30 30 void enable_interrupts( __cfaabi_dbg_ctx_param ); -
libcfa/src/concurrency/monitor.cfa
r1f1c102 rf53acdf8 13 13 // Update Count : 9 14 14 // 15 16 #define __cforall_thread__ 15 17 16 18 #include "monitor.hfa" -
libcfa/src/concurrency/mutex.cfa
r1f1c102 rf53acdf8 15 15 // Update Count : 0 16 16 // 17 18 #define __cforall_thread__ 17 19 18 20 #include "mutex.hfa" -
libcfa/src/concurrency/preemption.cfa
r1f1c102 rf53acdf8 13 13 // Update Count : 37 14 14 // 15 16 #define __cforall_thread__ 15 17 16 18 #include "preemption.hfa" -
libcfa/src/concurrency/thread.cfa
r1f1c102 rf53acdf8 13 13 // Update Count : 8 14 14 // 15 16 #define __cforall_thread__ 15 17 16 18 #include "thread.hfa"
Note:
See TracChangeset
for help on using the changeset viewer.