From 07774bfa274462a74da04222712d5d096b1d14cb Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 13 Jul 2017 20:52:35 -0400 Subject: Removed a lot of sleeps that turned out to be unnecessary It's faster now, yay! --- source/link.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source/link.c b/source/link.c index 1091576..f63f4a5 100644 --- a/source/link.c +++ b/source/link.c @@ -86,11 +86,10 @@ u32 getMsg() while (val == 0) { val = __builtin_bswap32(recv()); - sleep(1); } send(0); - while (recv()!=0) {sleep(1);} + while (recv()!=0); send(0); return val; @@ -101,15 +100,14 @@ void getMsgArr(u32* arr, int len) for (int i=0; i