Date: Fri, 20 Nov 1998 18:20:20 -0700 From: chanders@timing.com (Craig Anderson) To: freebsd-hackers@FreeBSD.ORG Cc: chanders@timing.com Subject: reading socket in thread busy loops Message-ID: <199811210120.SAA05732@count.timing.com>
next in thread | raw e-mail | index | archive | help
My attempts to block on a socket read cause the thread library to go into a spin loop. I believe the socket fd is explicitly set to blocking mode, but I'm not positive I'm setting things up properly. Can anyone familiar with the threads library tell me how to get blocking behavior? I'm running FreeBSD 2.2.6. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811210120.SAA05732>