From 05ce08877ff420ca9fc77599dd947ff610d02cb0 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 18 Sep 2024 01:12:07 -0600 Subject: fixes --- net9p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net9p.c') diff --git a/net9p.c b/net9p.c index a9c9025..13b1a33 100644 --- a/net9p.c +++ b/net9p.c @@ -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(); } -- cgit v1.2.3-2-g168b