Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/actors/pingpong.cfa

    rc880a7b rc26bea2a  
    1919size_t times = 100000;
    2020
    21 allocation receive( ping & receiver, p_msg & msg ) {
     21Allocation receive( ping & receiver, p_msg & msg ) {
    2222    msg.count++;
    2323    if ( msg.count > times ) return Finished;
    2424
    25     allocation retval = Nodelete;
     25    Allocation retval = Nodelete;
    2626    if ( msg.count == times ) retval = Finished;
    2727    *po << msg;
     
    2929}
    3030
    31 allocation receive( pong & receiver, p_msg & msg ) {
     31Allocation receive( pong & receiver, p_msg & msg ) {
    3232    msg.count++;
    3333    if ( msg.count > times ) return Finished;
    3434   
    35     allocation retval = Nodelete;
     35    Allocation retval = Nodelete;
    3636    if ( msg.count == times ) retval = Finished;
    3737    *pi << msg;
Note: See TracChangeset for help on using the changeset viewer.