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/kernel

    r795d450 r242a902  
    3939};
    4040
    41 void  ?{}(semaphore * this, int count = 1);
    42 void ^?{}(semaphore * this);
     41void  ?{}(semaphore & this, int count = 1);
     42void ^?{}(semaphore & this);
    4343void P(semaphore * this);
    4444void V(semaphore * this);
     
    5252};
    5353
    54 void ?{}(cluster * this);
    55 void ^?{}(cluster * this);
     54void ?{}(cluster & this);
     55void ^?{}(cluster & this);
    5656
    5757//-----------------------------------------------------------------------------
     
    6969        unsigned short thrd_count;
    7070};
    71 static inline void ?{}(FinishAction * this) {
    72         this->action_code = No_Action;
    73         this->thrd = NULL;
    74         this->lock = NULL;
     71static inline void ?{}(FinishAction & this) {
     72        this.action_code = No_Action;
     73        this.thrd = NULL;
     74        this.lock = NULL;
    7575}
    76 static inline void ^?{}(FinishAction * this) {}
     76static inline void ^?{}(FinishAction & this) {}
    7777
    7878struct processor {
     
    9494};
    9595
    96 void ?{}(processor * this);
    97 void ?{}(processor * this, cluster * cltr);
    98 void ^?{}(processor * this);
     96void ?{}(processor & this);
     97void ?{}(processor & this, cluster * cltr);
     98void ^?{}(processor & this);
    9999
    100100#endif //KERNEL_H
Note: See TracChangeset for help on using the changeset viewer.