Re: PROBLEM: I/O system call never returns if file desc is closed in the

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 6 Jun 2001 22:35:31 +0100 (BST)


> This report describes a problem in the usage of file descriptors across
> multiple threads. When one thread closes a file descriptor, another
> thread which waits for an I/O on that file descriptor is not notified
> and blocks forever.

THe I/O does not block forever, it blocks until completed. The actual final
closure of the object occurs when the last operation on it exits

-
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/