From db7bd504e5a6adad6335f5c23b8a318f66ea92fa Mon Sep 17 00:00:00 2001 From: Able Date: Sat, 9 Apr 2022 23:49:31 -0500 Subject: [PATCH] input update --- aos_wasm_stress_test/aos_wasm_stress_test.wasm | Bin 0 -> 670 bytes aos_wasm_stress_test/build.sh | 6 +++--- aos_wasm_stress_test/src/main.rs | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100755 aos_wasm_stress_test/aos_wasm_stress_test.wasm diff --git a/aos_wasm_stress_test/aos_wasm_stress_test.wasm b/aos_wasm_stress_test/aos_wasm_stress_test.wasm new file mode 100755 index 0000000000000000000000000000000000000000..0f4de4c27e5fbf45991efba66e040a2d4e58992b GIT binary patch literal 670 zcmY*Xv5wO~5S`hz6Q4IHe9{R5LSl6w(UArn5*2$jCB3s3FNcHeM7t)ChBXHT2no^f z6MO{)pTH*|YC42yn00a}tTcXap58p$+5zoq1OU99OquuSr$B`srT|m!JrRZs`|D!DqGD>!CAjDEEvnn`|w_gEyk#A9}y zfW$EYSL1o_lq`D}UIF6af1zv}$`sy*v1DQXkf0A`7x^Rkk0wNudG>k}wht$7es%Bv zeE9t1H;5~sK86ocm( i32 { let rand; - let ret; + let mut ret; unsafe { send_signal(PID(1), Signals::Quit); rand = get_random(); - ret = get_input(); + loop { + ret = get_input(); + } } // rand as i32