Article View: comp.mail.mush
Article #283Re: race condition in tool mode when "Done"
From: Barton E. Schaefer
Date: Sat, 25 Nov 1989 21:18
Date: Sat, 25 Nov 1989 21:18
33 lines
1709 bytes
1709 bytes
This reply address failed after 3 days of "hostname lookup failure":
To: del@thrush.semi.harris-atd.com
so I'm posting this. Not an Official Patch; applies to 7.0.0.0 alpha
version of mush only.
In article <1989Nov22.082512.17046@semi.harris-atd.com> del writes:
} I just ran into some sort of race condition between when I hit the
} "Done" button in tool mode and when a piece of mail was delivered to me.
You're using 7.0.0.0, correct? There is a bug in check_new_mail(). I'm
not sure whether this solves the problem you had or not.
signals.c.0 Mon Aug 28 10:18:08 1989
--- signals.c Mon Sep 18 14:11:01 1989
***************
*** 229,236 ****
(void) emptyfile(&tmpf, tempfile);
current_msg = msg_cnt = 0;
}
if (last_spool_size != spool_size) {
- (void) load_folder(mailfile, 1, NULL);
if (update_size)
last_spool_size = spool_size;
if (msg_cnt < last_msg_cnt)
--- 229,236 ----
(void) emptyfile(&tmpf, tempfile);
current_msg = msg_cnt = 0;
}
+ (void) load_folder(mailfile, 1, NULL);
if (last_spool_size != spool_size) {
if (update_size)
last_spool_size = spool_size;
if (msg_cnt < last_msg_cnt)
Technical Details
Message-ID:
<5832@ogccse.ogc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!caesar.cs.montana.edu!ogccse!schaeferReferences:
<1989Nov22.082512.17046@semi.harris-atd.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!caesar.cs.montana.edu!ogccse!schaefer From: schaefer@cse.ogi.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: race condition in tool mode when "Done" Message-ID: <5832@ogccse.ogc.edu> Date: 25 Nov 89 21:18:37 GMT References: <1989Nov22.082512.17046@semi.harris-atd.com> Sender: schaefer@ogccse.ogc.edu Reply-To: schaefer@ogccse.UUCP (Barton E. Schaefer) Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 33