Changeset de6319f for src/libcfa/concurrency/thread.c
- Timestamp:
- Apr 26, 2018, 5:23:15 PM (6 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, with_gc
- Children:
- b9f383f
- Parents:
- 22bdc34
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/thread.c
r22bdc34 rde6319f 30 30 //----------------------------------------------------------------------------- 31 31 // Thread ctors and dtors 32 33 void ?{}(thread_desc& this) with( this ) { 34 self_cor{}; 35 self_cor.name = "Anonymous Coroutine"; 32 void ?{}(thread_desc & this, const char * const name, cluster & cl, void * storage, size_t storageSize ) with( this ) { 33 self_cor{ name, storage, storageSize }; 34 verify(&self_cor); 36 35 curr_cor = &self_cor; 37 36 self_mon.owner = &this; 38 37 self_mon.recursion = 1; 39 38 self_mon_p = &self_mon; 39 curr_cluster = &cl; 40 40 next = NULL; 41 41 __cfaabi_dbg_debug_do(
Note: See TracChangeset
for help on using the changeset viewer.