Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 1999 10:49:36 +0100 (CET)
From:      FreeBsd <bsd@obr.software602.cz>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   thread  and socket
Message-ID:  <Pine.BSF.4.05.9903140953180.4831-100000@obr.software602.cz>
In-Reply-To: <199903140842.AAA89134@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903140953180.4831-100000>