Ignore:
Timestamp:
Jan 25, 2017, 1:09:20 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
ad56482
Parents:
4a9ccc3 (diff), 2cdf6dc (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:/u/cforall/software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/coroutines.c

    r4a9ccc3 rad6343e  
     1//                              -*- Mode: CFA -*-
    12//
    23// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
     
    3132#include "invoke.h"
    3233
    33 /*thread_local*/ extern processor * this_processor;
     34extern processor * get_this_processor();
    3435
    3536//-----------------------------------------------------------------------------
     
    110111
    111112        // set new coroutine that task is executing
    112         this_processor->current_coroutine = dst;                       
     113        get_this_processor()->current_coroutine = dst;                 
    113114
    114115        // context switch to specified coroutine
Note: See TracChangeset for help on using the changeset viewer.