Question about Socket fd access in multiple tasks
WENorum at lbl.gov
Fri Feb 19 13:14:34 CST 2010
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.
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.....
On Feb 19, 2010, at 3:41 AM, Peter Dufault wrote:
> On Feb 18, 2010, at 7:54 , Chris Johns wrote:
>> Yes if the shutdown works.
> I think if it doesn't it's a bug (add stress on "I think").
> Peter Dufault
> HD Associates, Inc. Software and System Engineering
wenorum at lbl.gov
More information about the rtems-users