Ignore:
Timestamp:
Jul 5, 2026, 11:23:27 PM (4 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
15a0f6f
Parents:
97c75bf
Message:

change function name isEmpty to empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/executor.cfa

    r97c75bf r9df6059  
    2121        T * remove( Buffer(T, TLink) & mutex buf ) with(buf) {
    2222                dlist( T, TLink ) * qptr = &queue;                              // workaround https://cforall.uwaterloo.ca/trac/ticket/166
    23                 // if ( isEmpty( *qptr ) ) wait( delay );               // no request to process ? => wait
    24           if ( isEmpty( *qptr ) ) return 0p;                            // no request to process ? => wait
     23                // if ( empty( *qptr ) ) wait( delay );                 // no request to process ? => wait
     24          if ( empty( *qptr ) ) return 0p;                                      // no request to process ? => wait
    2525                return &try_pop_front( *qptr );
    2626        } // remove
Note: See TracChangeset for help on using the changeset viewer.