Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Feb 2006 10:20:01 +0000
From:      Pete French <petefrench@ticketswitch.com>
To:        yar@comp.chem.msu.su
Cc:        peterjeremy@optushome.com.au, freebsd-stable@freebsd.org, ivoras@fer.hr
Subject:   Re: Restartable system call behaviour
Message-ID:  <E1F4bZJ-000KpG-C6@dilbert.firstcallgroup.co.uk>
In-Reply-To: <20060201220701.GA29980@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
> To the best of my knowledge, connect() being always interruptable
> is correct and well-known.

Fair enough, that answers my question!

> And my 4.11-STABLE system will interrupt connect() on a signal with
> SA_RESTART set, which disagrees with your observations yet agrees with
> the standard.  Perhaps some logic in your software has changed since
> 4.11 times.

Have been puzzling over this a lot actually, as I definitely didnt get
it on 4.11. The conclusion I've come to is that the networking circumstances
have also changed over time, such that it's now more likely for me to get
a signal during a connect, hence it probably always did behave that way, just
that I never saw it. The change to 5 would be a co-incidence then.

thanks,

-pete.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1F4bZJ-000KpG-C6>