On Mon, 08 Aug 2011 12:50:15 -0600, Alex Rousskov wrote:
> 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.
Excellent thank you. That simplifies things a lot.
Amos
Received on Mon Aug 08 2011 - 23:27:47 MDT
This archive was generated by hypermail 2.2.0 : Tue Aug 09 2011 - 12:00:03 MDT