Ignore:
Timestamp:
Apr 25, 2025, 7:39:09 AM (5 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
65bd3c2
Parents:
b195498
Message:

change backquote call to regular call

File:
1 edited

Legend:

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

    rb195498 r6b33e89  
    3333
    3434void main( cofor_runner & this ) with(this) {
    35     while ( !done || !items`isEmpty ) {
     35    while ( ! done || ! isEmpty( items ) ) {
    3636                lock( mutex_lock );
    37         runner_node * node = &try_pop_front( items );
     37        runner_node * node = &remove_first( items );
    3838                unlock( mutex_lock );
    39                 if ( !node )
     39                if ( ! node )
    4040                        continue;
    4141        func( node->value );
Note: See TracChangeset for help on using the changeset viewer.