Ignore:
Timestamp:
Mar 29, 2026, 11:03:25 PM (5 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Parents:
81ab5eb
Message:

3rd attempt at harmonizing isOp functions, e.g., isListed, isFirst, isLast

File:
1 edited

Legend:

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

    r81ab5eb re6e250d  
    1010// Created On       : Wed Jan 06 17:33:18 2021
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Mar 29 21:13:04 2026
    13 // Update Count     : 223
     12// Last Modified On : Sun Mar 29 22:47:01 2026
     13// Update Count     : 224
    1414//
    1515
     
    7979
    8080                bool unregister_select$( future(T) & fut, select_node & s ) with( fut ) { // for waituntil statement
    81                   if ( ! isListed( s ) ) return false;
    82                         lock( lock );
    83                         if ( isListed( s ) ) remove( s );
     81                  if ( ! listed( s ) ) return false;
     82                        lock( lock );
     83                        if ( listed( s ) ) remove( s );
    8484                        unlock( lock );
    8585                        return false;
Note: See TracChangeset for help on using the changeset viewer.