Ignore:
Timestamp:
Mar 29, 2026, 9:52:51 PM (5 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
e6e250d
Parents:
00675ed4
Message:

2nd attempt at harmonizing isOp functions, e.g., isEmpty, to C/C++ form empty

File:
1 edited

Legend:

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

    r00675ed4 r81ab5eb  
    1111// Created On       : Thu Jan 21 19:46:50 2023
    1212// Last Modified By : Peter A. Buhr
    13 // Last Modified On : Sun Nov 23 22:38:36 2025
    14 // Update Count     : 8
     13// Last Modified On : Sun Mar 29 21:12:52 2026
     14// Update Count     : 9
    1515//
    1616
     
    169169// Returns true if execution can continue normally and false if the queue has now been drained
    170170static inline bool __handle_waituntil_OR( dlist( select_node ) & queue ) {
    171         if ( isEmpty( queue ) ) return false;
     171        if ( empty( queue ) ) return false;
    172172        if ( first( queue ).clause_status && ! first( queue ).park_counter ) {
    173                 while ( ! isEmpty( queue ) ) {
     173                while ( ! empty( queue ) ) {
    174174                        // if node not a special OR case or if we win the special OR case race break
    175175                        if ( ! first( queue ).clause_status || first( queue ).park_counter || __make_select_node_available( first( queue ) ) )
Note: See TracChangeset for help on using the changeset viewer.