Ignore:
Timestamp:
Jul 12, 2021, 12:17:27 PM (3 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
4ae968e
Parents:
b7763da
Message:

removed print and deleted equal operator for lock

File:
1 edited

Legend:

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

    rb7763da r55ad35c  
    274274        this.yield_count = yield_count;
    275275}
    276 static inline void  ?{}( linear_backoff_then_block_lock & this ) { this{4, 1024, 16, 0};
    277 printf("lock_ctor: %p\n", &this); }
     276static inline void  ?{}( linear_backoff_then_block_lock & this ) { this{4, 1024, 16, 0}; }
    278277static inline void ^?{}( linear_backoff_then_block_lock & this ) {}
     278//static inline void ?{}( linear_backoff_then_block_lock & this, linear_backoff_then_block_lock & this2 ) = void;
     279static inline void ?=?( linear_backoff_then_block_lock & this, linear_backoff_then_block_lock & this2 ) = void;
    279280
    280281static inline bool internal_try_lock(linear_backoff_then_block_lock & this, size_t & compare_val) with(this) {
Note: See TracChangeset for help on using the changeset viewer.