Ignore:
Timestamp:
Jul 18, 2017, 4:35:52 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:
f19339e
Parents:
795d450
Message:

Convert more library files to use references

File:
1 edited

Legend:

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

    r795d450 r242a902  
    230230}
    231231
    232 void ?{}( preemption_scope * this, processor * proc ) {
    233         (&this->alarm){ proc };
    234         this->proc = proc;
    235         this->proc->preemption_alarm = &this->alarm;
    236         update_preemption( this->proc, this->proc->preemption );
    237 }
    238 
    239 void ^?{}( preemption_scope * this ) {
     232void ?{}( preemption_scope & this, processor * proc ) {
     233        (this.alarm){ proc };
     234        this.proc = proc;
     235        this.proc->preemption_alarm = &this.alarm;
     236        update_preemption( this.proc, this.proc->preemption );
     237}
     238
     239void ^?{}( preemption_scope & this ) {
    240240        disable_interrupts();
    241241
    242         update_preemption( this->proc, 0 );
     242        update_preemption( this.proc, 0 );
    243243}
    244244
Note: See TracChangeset for help on using the changeset viewer.