Ignore:
File:
1 edited

Legend:

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

    r8def349 rbd98b58  
    1 //                              -*- Mode: CFA -*-
    21//
    32// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
     
    3231#include "invoke.h"
    3332
    34 extern processor * get_this_processor();
     33/*thread_local*/ extern processor * this_processor;
    3534
    3635//-----------------------------------------------------------------------------
     
    111110
    112111        // set new coroutine that task is executing
    113         get_this_processor()->current_coroutine = dst;                 
     112        this_processor->current_coroutine = dst;                       
    114113
    115114        // context switch to specified coroutine
Note: See TracChangeset for help on using the changeset viewer.