Ignore:
File:
1 edited

Legend:

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

    rb6de35e r8a97248  
    1010// Created On       : Thd Feb 23 12:27:26 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Nov  4 21:56:17 2025
    13 // Update Count     : 16
     12// Last Modified On : Thu Feb  2 11:29:21 2023
     13// Update Count     : 12
    1414//
    1515
     
    146146}
    147147
    148 void wait( condition & this, uintptr_t user_info = 0 );
    149 static inline bool empty( condition & this ) { return this.blocked.head == 1p; }
    150 bool signal ( condition & this );
    151 bool signal_block( condition & this );
    152 static inline bool signal_all( condition & this ) {
    153         bool ret = false;
    154         while ( !empty( this ) ) {
    155                 ret = signal(this) || ret;
    156         }
    157         return ret;
    158 }
    159 uintptr_t front( condition & this );
     148              void wait        ( condition & this, uintptr_t user_info = 0 );
     149static inline bool is_empty    ( condition & this ) { return this.blocked.head == 1p; }
     150              bool signal      ( condition & this );
     151              bool signal_block( condition & this );
     152static inline bool signal_all  ( condition & this ) { bool ret = false; while(!is_empty(this)) { ret = signal(this) || ret; } return ret; }
     153         uintptr_t front       ( condition & this );
    160154
    161155//-----------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.