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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/locks.cfa

    r81ab5eb re6e250d  
    220220bool unregister_select$( blocking_lock & this, select_node & node ) with(this) {
    221221        lock( lock __cfaabi_dbg_ctx2 );
    222         if ( isListed( node ) ) {
     222        if ( listed( node ) ) {
    223223                remove( node );
    224224                wait_count--;
     
    265265                //      may still be called after a thread has been removed from the queue but
    266266                //      before the alarm is unregistered
    267                 if ( isListed( *info_thd ) ) {                                  // is thread on queue
     267                if ( listed( *info_thd ) ) {                                    // is thread on queue
    268268                        info_thd->signalled = false;
    269269                        // remove this thread O(1)
     
    304304                //      may still be called after a thread has been removed from the queue but
    305305                //      before the alarm is unregistered
    306                 if ( isListed( *info_thd ) ) {                                  // is thread on queue
     306                if ( listed( *info_thd ) ) {                                    // is thread on queue
    307307                        info_thd->signalled = false;
    308308                        // remove this thread O(1)
Note: See TracChangeset for help on using the changeset viewer.