Ignore:
File:
1 edited

Legend:

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

    red235b6 r83a071f9  
     1//                              -*- Mode: CFA -*-
    12//
    23// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
     
    910// Author           : Thierry Delisle
    1011// Created On       : Mon Nov 28 12:27:26 2016
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jul 21 22:34:57 2017
    13 // Update Count     : 1
     12// Last Modified By : Thierry Delisle
     13// Last Modified On : Mon Nov 28 12:27:26 2016
     14// Update Count     : 0
    1415//
    1516
     
    2526}
    2627
    27 #include "kernel_private.h"
     28#include "kernel"
     29#include "libhdr.h"
    2830
    2931#define __CFA_INVOKE_PRIVATE__
    3032#include "invoke.h"
    3133
     34extern volatile thread_local processor * this_processor;
    3235
    3336//-----------------------------------------------------------------------------
     
    7477}
    7578
    76 void ^?{}(coStack_t & this) {
    77         if ( ! this.userStack && this.storage ) {
     79void ^?{}(coStack_t& this) {
     80        if ( ! this.userStack ) {
    7881                LIB_DEBUG_DO(
    7982                        if ( mprotect( this.storage, pageSize, PROT_READ | PROT_WRITE ) == -1 ) {
     
    122125        //TEMP HACK do this on proper kernel startup
    123126        if(pageSize == 0ul) pageSize = sysconf( _SC_PAGESIZE );
    124 
    125         LIB_DEBUG_PRINT_SAFE("FRED");
    126127
    127128        size_t cxtSize = libCeiling( sizeof(machine_context_t), 8 ); // minimum alignment
Note: See TracChangeset for help on using the changeset viewer.