home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / softsys / andrew / 1365 < prev    next >
Encoding:
Text File  |  1992-11-14  |  1.4 KB  |  41 lines

  1. Newsgroups: comp.soft-sys.andrew
  2. Path: sparky!uunet!nih-csl.dcrt.nih.gov!daedalus.dcrt.nih.gov!weisen
  3. From: weisen@daedalus.dcrt.nih.gov (Neil Weisenfeld)
  4. Subject: Question about AMDS message delivery
  5. Message-ID: <1992Nov13.184644.19701@alw.nih.gov>
  6. Sender: postman@alw.nih.gov (AMDS Postmaster)
  7. Organization: National Insts. of Health, DCRT, CSL
  8. X-Newsreader: Tin 1.1 PL4
  9. Date: Fri, 13 Nov 1992 18:46:44 GMT
  10. Lines: 29
  11.  
  12.  
  13. Our AMDS system is set up so that a number of machines may deliver the
  14. same message.  Is there any sort of locking system used to keep them
  15. from stepping on each other's toes?   I'm writing a biff program and it
  16. seems to suffer from two ailments:
  17.  
  18. 1. Sometimes the user gets informed about a message twice since its
  19. modification time changes twice.
  20.  
  21. 2. Sometimes the biff program starts scanning the message for headers
  22. as the message is being written and subsequently winds up hitting EOF
  23. before finding all of the headers.
  24.  
  25.  
  26. Now I know that I could solve #1 by keying off of the filename and not
  27. checking the same file twice, but how about #2?  Is there some lock
  28. mechanism for the Mailbox directory or the message files, or is it just 
  29. a free for all?
  30.  
  31.  
  32. Thanks,
  33. Neil
  34.  
  35.  
  36. --
  37. Neil I. Weisenfeld                    National Institutes of Health
  38. Computer Engineer                     Building 12A, Room 2033
  39. weisen@alw.nih.gov                    Bethesda, MD 20892
  40. uunet!nih-csl!weisen                  phone: (301) 402-2788
  41.