Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Waitfor.cc

    rcca568e r07de76b  
    1111// Last Modified By :
    1212// Last Modified On :
    13 // Update Count     : 12
     13// Update Count     : 11
    1414//
    1515
     
    4242void foo() {
    4343        while( true ) {
    44                 when( a < 1 ) waitfor( f : a ) { bar(); }
     44                when( a < 1 ) waitfor( f, a ) { bar(); }
    4545                or timeout( swagl() );
    46                 or waitfor( g : a ) { baz(); }
    47                 or waitfor( ^?{} : a ) { break; }
     46                or waitfor( g, a ) { baz(); }
     47                or waitfor( ^?{}, a ) { break; }
    4848                or waitfor( ^?{} ) { break; }
    4949        }
Note: See TracChangeset for help on using the changeset viewer.