Ignore:
File:
1 edited

Legend:

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

    rc5a2c96 rc4f411e  
    7373    if ( size != 0 ) delete( buffer );
    7474}
    75 static inline size_t get_count( channel(T) & chan ) with(chan) { return __atomic_load_n( &count, __ATOMIC_SEQ_CST); }
     75static inline size_t get_count( channel(T) & chan ) with(chan) { return count; }
    7676static inline size_t get_size( channel(T) & chan ) with(chan) { return size; }
    7777static inline bool has_waiters( channel(T) & chan ) with(chan) { return !cons`isEmpty || !prods`isEmpty; }
Note: See TracChangeset for help on using the changeset viewer.