From owner-freebsd-hackers Sun Mar 14 1:53:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from obr.software602.cz (unknown [194.108.5.200]) by hub.freebsd.org (Postfix) with ESMTP id 4C21B14DFB for ; Sun, 14 Mar 1999 01:53:20 -0800 (PST) (envelope-from bsd@obr.software602.cz) Received: from localhost (bsd@localhost) by obr.software602.cz (8.9.2/8.9.2) with ESMTP id KAA04961 for ; Sun, 14 Mar 1999 10:49:38 +0100 (CET) (envelope-from bsd@obr.software602.cz) Date: Sun, 14 Mar 1999 10:49:36 +0100 (CET) From: FreeBsd To: freebsd-hackers@FreeBSD.ORG Subject: thread and socket In-Reply-To: <199903140842.AAA89134@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, in some small application I use receive socket with setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); and recvfrom is waiting and after tv finish with EAGAIN. It is well in no thread version. In threaded version recvfrom is waiting and waiting and... without finish (or recevie data well). Is this problem colision on user timers or some blocking (or other)? How can I secure stop recvfrom from another thread? Thanks, Honza (version 2.2.8 and 3.1 - It's a same problem) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message