Ignore:
Timestamp:
Feb 12, 2018, 11:57:50 AM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
d56ca354
Parents:
eb7f20c
Message:

Finished adding with statements to kernel

File:
1 edited

Legend:

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

    reb7f20c rc40e7c5  
    144144}
    145145
    146 void ?{}(processor & this, cluster * cltr) {
     146void ?{}(processor & this, cluster * cltr) with( this ) {
    147147        this.cltr = cltr;
    148         this.terminated{ 0 };
    149         this.do_terminate = false;
    150         this.preemption_alarm = NULL;
    151         this.pending_preemption = false;
     148        terminated{ 0 };
     149        do_terminate = false;
     150        preemption_alarm = NULL;
     151        pending_preemption = false;
    152152
    153153        start( &this );
    154154}
    155155
    156 void ?{}(processor & this, cluster * cltr, processorCtx_t & runner) {
     156void ?{}(processor & this, cluster * cltr, processorCtx_t & runner) with( this ) {
    157157        this.cltr = cltr;
    158         this.terminated{ 0 };
    159         this.do_terminate = false;
    160         this.preemption_alarm = NULL;
    161         this.pending_preemption = false;
    162         this.kernel_thread = pthread_self();
     158        terminated{ 0 };
     159        do_terminate = false;
     160        preemption_alarm = NULL;
     161        pending_preemption = false;
     162        kernel_thread = pthread_self();
    163163
    164164        this.runner = &runner;
Note: See TracChangeset for help on using the changeset viewer.