Changeset 8def349 for src/libcfa/concurrency/coroutines.c
- Timestamp:
- Jan 24, 2017, 11:45:13 AM (8 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:
- 60819df7
- Parents:
- 63f78f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutines.c
r63f78f0 r8def349 1 // -*- Mode: CFA -*- 1 2 // 2 3 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo … … 31 32 #include "invoke.h" 32 33 33 /*thread_local*/ extern processor * this_processor;34 extern processor * get_this_processor(); 34 35 35 36 //----------------------------------------------------------------------------- … … 110 111 111 112 // set new coroutine that task is executing 112 this_processor->current_coroutine = dst;113 get_this_processor()->current_coroutine = dst; 113 114 114 115 // context switch to specified coroutine
Note: See TracChangeset
for help on using the changeset viewer.