Re: pluto not responding -- possibly not re-entrant (updown)
"D. Hugh Redelmeier" <[email protected]> Wed, 12 Mar 2003 15:11:07 -0500 (EST)
| Newsgroups | gmane.network.freeswan.devel |
|---|---|
| Message-ID | <[email protected]> |
| From: John S. Denker <[email protected]> | Date: Fri, 28 Feb 2003 08:42:17 -0500 [Sorry for the slow reply. I'm way behind in list reading.] Pluto is what structured as a transaction system. Essentially like an even-driven program. It receives an event, processes it completely (atomically), and then goes back to wait for the next event. That is a transaction. The updown script is run within a transaction. No whack command issued by the updown can complete until the updown script has returned control to its caller. It is possible for the updown script to fork off a subprocess that lives past the end of the main script. Such a subprocess could reasonably include a whack command. Hugh Redelmeier [email protected] voice: +1 416 482-8253