Changeset 615767b for libcfa/src/concurrency/clib
- Timestamp:
- Oct 1, 2020, 3:54:39 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 91131689
- Parents:
- ebec8ed (diff), dd53f75 (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/clib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
rebec8ed r615767b 34 34 extern "C" { 35 35 //-------------------- 36 // Basic thread manage nemt36 // Basic thread management 37 37 CRunner * cfathread_create( void (*main)( CRunner * ) ) { 38 38 return new( main ); … … 44 44 45 45 void cfathread_park( void ) { 46 park( __cfaabi_dbg_ctx);46 park(); 47 47 } 48 48 49 49 void cfathread_unpark( CRunner * thrd ) { 50 unpark( *thrd __cfaabi_dbg_ctx2);50 unpark( *thrd ); 51 51 } 52 52 -
libcfa/src/concurrency/clib/cfathread.h
rebec8ed r615767b 17 17 #include "invoke.h" 18 18 19 #if defined(__cforall) || defined(__cplu plus)19 #if defined(__cforall) || defined(__cplusplus) 20 20 extern "C" { 21 21 #endif … … 39 39 40 40 41 #if defined(__cforall) || defined(__cplu plus)41 #if defined(__cforall) || defined(__cplusplus) 42 42 } 43 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.