On 07/15/2011 10:11 PM, Amos Jeffries wrote:
> I'm not very certain about SMP listening sockets, which process(es) are
> safe to close() on reconfigure/shutdown? the unsafe ones must do fd=-1
> to abandon the FD information explicitly before the conn object destructs.
Just for the record, all listening processes can close their FDs in SMP
mode. The underlying descriptor will be really closed when the last user
closes it. Thus, there should be no need to coordinate closing of
individual descriptors among SMP kids.
HTH,
Alex.
Received on Mon Aug 08 2011 - 18:50:32 MDT
This archive was generated by hypermail 2.2.0 : Tue Aug 09 2011 - 12:00:03 MDT