Changeset 7c2820e for tests/exceptions
- Timestamp:
- Aug 7, 2023, 3:10:02 PM (21 months ago)
- Branches:
- master
- Children:
- 57fd66d
- Parents:
- c34bb1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tests/exceptions/cor_resumer.cfa ¶
rc34bb1f r7c2820e 23 23 resume( next ); 24 24 try { 25 while( ! poll( this ) ) { yield(); }25 poll(); 26 26 } catch( unwind * e ) { 27 27 e->num++; … … 31 31 } 32 32 sout | e->num; 33 if ( cnt == num_links ) return;34 33 except{ &unwind_vt, e->num }; 35 34 resumeAt( resumer( this ), except ); … … 41 40 sout | "main start"; 42 41 Node n{ num_links }; 43 resume( n ); 42 try { 43 resume( n ); 44 poll(); 45 } catch( unwind * e ) {} 46 44 47 sout | "main end"; 45 48 }
Note: See TracChangeset
for help on using the changeset viewer.