diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-18 01:12:07 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-18 01:12:07 -0600 |
commit | 05ce08877ff420ca9fc77599dd947ff610d02cb0 (patch) | |
tree | 52ee0fbcd5ada2bb4725fce5c57f29863e17f7c9 /net9p.c | |
parent | 52eb34af7be585c411a9a9ab39f0bea1d19e7d32 (diff) |
fixes
Diffstat (limited to 'net9p.c')
-rw-r--r-- | net9p.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ void net9p_listen_cr(void *_arg) { if (!coroutine_add(net9p_worker_cr, &conn)) error(1, 0, "coroutine_add(net9p_worker_cr, &%d)", conn); printf("im back...\n"); - for (;;) { + for (int i = 0; i < 10; i++) { cr_yield(); } |