Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 18 Jul 2002 12:37:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 18 Jul 2002 12:37:39 -0400 Received: from copper.ftech.net ([212.32.16.118]:9156 "EHLO relay5.ftech.net") by vger.kernel.org with ESMTP id ; Thu, 18 Jul 2002 12:37:39 -0400 Message-ID: <7C078C66B7752B438B88E11E5E20E72E0EF451@GENERAL.farsite.co.uk> From: Kevin Curtis To: linux-kernel@vger.kernel.org Subject: Closing a socket Date: Thu, 18 Jul 2002 17:36:43 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 561 Lines: 16 Hi, I have implemented a new socket address family and have noted that from a multi-threaded application, if a thread calls close(fd) while a second thread has a blocking read outstanding, the sockets release() is not called. Is this correct? How can one unblock the read in order to do the close. Thanks Kevin - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/