Linux-kernel mailing list archive 2000-26,: Re: Query on UDP Sockets on Linux.

# Re: Query on UDP Sockets on Linux.

Andi Kleen (ak@suse.de)
Mon, 26 Jun 2000 14:54:09 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Rik van Riel: "Re: mm 2.2.17pre6"
- Previous message: Alan Cox: "Re: Query on UDP Sockets on Linux."
- In reply to: Alan Cox: "Re: Query on UDP Sockets on Linux."

On Mon, Jun 26, 2000 at 01:46:47PM +0100, Alan Cox wrote:
> I dont even think there is a bug here.
>
> Thread 1 closes the file handle
> Thread 2 has it locked open until recvmsg() returns
>
> Then it closes.
>
> Probably thread1 needs to send thread2 a signal

close on any file handle should send the shutdown flag and wake up all
sleepers (and it does in 2.2.16). the sleepers notice shutdown and
error out.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Rik van Riel: "Re: mm 2.2.17pre6"
- Previous message: Alan Cox: "Re: Query on UDP Sockets on Linux."
- In reply to: Alan Cox: "Re: Query on UDP Sockets on Linux."