Changeset 69698d2
- Timestamp:
- Sep 2, 2022, 4:29:37 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 4dba1da
- Parents:
- 2284d20
- Location:
- tests/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/io/comp_basic.cfa
r2284d20 r69698d2 45 45 thread Reader {}; 46 46 void main(Reader & this) { 47 char thrash[1]; 47 48 bool do_read = has_user_level_blocking( (fptr_t)async_read ); 48 49 … … 50 51 io_future_t f; 51 52 if ( do_read ) { 52 char thrash[1];53 53 async_read(f, globals.pipe[0], thrash, 1, 0); 54 54 } else { -
tests/io/comp_fair.cfa
r2284d20 r69698d2 65 65 thread Reader {}; 66 66 void main(Reader & this) { 67 char thrash[1]; 67 68 bool do_read = has_user_level_blocking( (fptr_t)async_read ); 68 69 … … 70 71 io_future_t f; 71 72 if ( do_read ) { 72 char thrash[1];73 73 async_read(f, globals.pipe[0], thrash, 1, 0); 74 74 } else {
Note: See TracChangeset
for help on using the changeset viewer.