Changeset 2ac095d for src/libcfa/concurrency/kernel
- Timestamp:
- Jun 23, 2017, 11:22:59 AM (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:
- 7bbba76
- Parents:
- d43cd01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel
rd43cd01 r2ac095d 28 28 //----------------------------------------------------------------------------- 29 29 // Locks 30 bool try_lock( spinlock * 31 #ifdef __CFA_DEBUG__ 32 , const char * caller 33 #endif 34 ); 35 36 void lock( spinlock * 37 #ifdef __CFA_DEBUG__ 38 , const char * caller 39 #endif 40 ); 41 42 void unlock( spinlock * ); 30 bool try_lock( spinlock * DEBUG_CTX_PARAM2 ); 31 void lock ( spinlock * DEBUG_CTX_PARAM2 ); 32 void unlock ( spinlock * ); 43 33 44 34 struct signal_once { … … 78 68 unsigned short thrd_count; 79 69 }; 80 static inline void ?{}(FinishAction * this) { 70 static inline void ?{}(FinishAction * this) { 81 71 this->action_code = No_Action; 82 72 this->thrd = NULL; … … 89 79 cluster * cltr; 90 80 pthread_t kernel_thread; 91 81 92 82 signal_once terminated; 93 83 volatile bool is_terminated;
Note: See TracChangeset
for help on using the changeset viewer.