Changeset c84e80a for src/libcfa/concurrency/threads.c
- Timestamp:
- Jan 18, 2017, 6:12:13 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:
- 68e6031
- Parents:
- 7fbe450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/threads.c
r7fbe450 rc84e80a 78 78 current_coroutine = thrd_c; 79 79 80 LIB_DEBUG_PRINTF("Thread start : %p (t %p, c %p)\n", handle, thrd_c, thrd_h);80 // LIB_DEBUG_PRINTF("Thread start : %p (t %p, c %p)\n", handle, thrd_c, thrd_h); 81 81 82 82 create_stack(&thrd_c->stack, thrd_c->stack.size); … … 84 84 CtxSwitch( thrd_c->last->stack.context, thrd_c->stack.context ); 85 85 86 the_thread = thrd_h;86 scheduler_add(thrd_h); 87 87 } 88 88
Note: See TracChangeset
for help on using the changeset viewer.