[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Recv blocks forever after close
From: |
Ignasi Villagrasa |
Subject: |
Recv blocks forever after close |
Date: |
Wed, 18 Jun 2003 08:28:03 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; es-ES; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 |
Hi everyone,
I'm developing a multi-threaded server based application and I've
noticed a problem when closing a socket file descriptor from a thread
and the corresponding recv socket function is running in other thread.
Instead of returning, as documented, the function remains locked.
I'm using Red Hat 7.2, and my program uses pthreads.
I have found the same problem in
http://sources.redhat.com/ml/bug-glibc/2001-05/msg00089.html
two years ago. But this question has no reply.
So I'd like to know if the problem is solved, and if I should apply some
patch.
Thanks in advance,
Ignasi Villagrasa.
- Recv blocks forever after close,
Ignasi Villagrasa <=