[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about Socket fd access in multiple tasks
- Date: Sat, 20 Feb 2010 14:32:11 +1100
- From: chrisj at rtems.org (Chris Johns)
- Subject: Question about Socket fd access in multiple tasks
On 20/02/2010 6:14 AM, Eric Norum wrote:
> Based on a quick look through the code in kern/uipc_socket.c I'm pretty sure that shutting down a socket from one thread is a safe way to break another thread out of a socket read.
>
Great.
> FWIW, EPICS IOCs that use the 'shutdown from another thread' mechanism have been running for literally years with neither a reboot nor any apparent problems.....
>
I have updated the patch in the PR to 4.10. If it is ok I would like to
commit for 4.10.
Can users with high network load type applications please be able to
test and update the PR ?
Thanks
Chris