Great Circle Associates Majordomo-Users
(May 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Possible race condition in Majordomo 1.94.1 causing bounces
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Mon, 5 May 1997 08:20:16 -0500 (CDT)
To: pettern @ thule . no (Petter Nilsen)
Cc: majordomo-users @ greatcircle . com
In-reply-to: <819.7062T652T680@thule.no> from "Petter Nilsen" at May 3, 97 10:52:13 am
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Petter Nilsen writes: ]
> 
> In article <199705021341.IAA14412@miaow.risc.sps.mot.com>,
> dwolfe@risc.sps.mot.com (Dave Wolfe) wrote:
> 
> > If the MTA doesn't check locks, then it doesn't matter what MJ does
> > about locking because it'll still be accessing the file even when Mj
> > has it locked.
>
> My point was that Mj shouldn't start the MTA if the lock was set, but
> wait until it was cleared again.

And my point is that is doesn't matter whether or not the lock is
set when the MTA is started, only if the lock is checked by the MTA
when it accesses the file. We're talking about preemptive scheduling
systems here, so the sequence of events among independent processes is
non-deterministic. So what if Mj waits to start the MTA until the lock
is cleared? By the time the MTA accesses the file, the lock could be set
again.

-- 
 Dave Wolfe


Follow-Ups:
References:
Indexed By Date Previous: Re: users bypassing moderated list; how??
From: Ray Jones <rayjones@praline.no.neosoft.com>
Next: Re: users bypassing moderated list; how??
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Indexed By Thread Previous: Re: Possible race condition in Majordomo 1.94.1 causing bounces
From: Petter Nilsen <pettern@thule.no>
Next: Re: Possible race condition in Majordomo 1.94.1 causing bounces
From: Petter Nilsen <pettern@thule.no>

Google
 
Search Internet Search www.greatcircle.com