🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #1334

Question about AMDS message delivery

#1334
From: Neil Weisenfeld
Date: Fri, 13 Nov 1992 18:46
29 lines
1483 bytes
Our AMDS system is set up so that a number of machines may deliver the
same message.  Is there any sort of locking system used to keep them
from stepping on each other's toes?   I'm writing a biff program and it
seems to suffer from two ailments:

1. Sometimes the user gets informed about a message twice since its
modification time changes twice.

2. Sometimes the biff program starts scanning the message for headers
as the message is being written and subsequently winds up hitting EOF
before finding all of the headers.


Now I know that I could solve #1 by keying off of the filename and not
checking the same file twice, but how about #2?  Is there some lock
mechanism for the Mailbox directory or the message files, or is it just 
a free for all?


Thanks,
Neil


--
Neil I. Weisenfeld                    National Institutes of Health
Computer Engineer                     Building 12A, Room 2033
weisen@alw.nih.gov                    Bethesda, MD 20892
uunet!nih-csl!weisen                  phone: (301) 402-2788
Technical Details
Message-ID: <1992Nov13.184644.19701@alw.nih.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!nih-csl.dcrt.nih.gov!daedalus.dcrt.nih.gov!weisen

Show Full Headers
Complete Article Headers
Newsgroups: comp.soft-sys.andrew
Path: arc1-ca.pugleaf.net!sparky!uunet!nih-csl.dcrt.nih.gov!daedalus.dcrt.nih.gov!weisen
From: weisen@daedalus.dcrt.nih.gov (Neil Weisenfeld)
Subject: Question about AMDS message delivery
Message-ID: <1992Nov13.184644.19701@alw.nih.gov>
Sender: postman@alw.nih.gov (AMDS Postmaster)
Organization: National Insts. of Health, DCRT, CSL
X-Newsreader: Tin 1.1 PL4
Date: Fri, 13 Nov 1992 18:46:44 GMT
Lines: 29