Ignore:
File:
1 edited

Legend:

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

    r0da9475 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.