Question about Socket fd access in multiple tasks

Chris Johns chrisj at rtems.org
Sat Feb 20 03:32:11 UTC 2010


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



More information about the users mailing list