Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/ready_subqueue.hfa

    rf302d80 rd3ba775  
    5353// Push a thread onto this lane
    5454// returns true of lane was empty before push, false otherwise
    55 static inline void push( __intrusive_lane_t & this, $thread * node ) {
     55void push( __intrusive_lane_t & this, $thread * node ) {
    5656        /* paranoid */ verify( node->link.next == 0p );
    5757        /* paranoid */ verify( node->link.ts   == 0  );
     
    7777// returns popped
    7878// returns true of lane was empty before push, false otherwise
    79 static inline [* $thread, unsigned long long] pop( __intrusive_lane_t & this ) {
     79$thread * pop( __intrusive_lane_t & this ) {
    8080        /* paranoid */ verify( this.anchor.next != 0p );
    8181        /* paranoid */ verify( this.anchor.ts   != 0  );
    8282
    8383        // Get the relevant nodes locally
    84         unsigned long long ts = this.anchor.ts;
    8584        $thread * node = this.anchor.next;
    8685        this.anchor.next = node->link.next;
     
    9594        /* paranoid */ verify( node->link.next == 0p );
    9695        /* paranoid */ verify( node->link.ts   == 0  );
    97         return [node, ts];
     96        return node;
    9897}
    9998
Note: See TracChangeset for help on using the changeset viewer.