Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2000 14:29:20 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Kevin Bracey <kevin.bracey@pace.co.uk>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Race condition in TCP connection drops?
Message-ID:  <200007041829.OAA22401@khavrinen.lcs.mit.edu>
In-Reply-To: <282ed4d849%kbracey@kbracey.cam.pace.co.uk>
References:  <282ed4d849%kbracey@kbracey.cam.pace.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 04 Jul 2000 13:52:47 +0100, Kevin Bracey <kevin.bracey@pace.co.uk> said:

> This is totally reliable on our system, because the psignal mechanism is
> synchronous. Are there interlocks to prevent this happening on FreeBSD, or is
> it a race condition?

On all BSD systems since time immemorial (and probably Bell Labs Unix
before that), signal delivery is asynchronous, and the kernel is
non-preemptible, so this is not possible.  (There are no explicit
interlocks /per se/; it's merely the consequence of a design choice
made many years ago.)

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007041829.OAA22401>