home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / wizards / 5674 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.1 KB  |  27 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!ukma!netnews.louisville.edu!starbase.spd.louisville.edu!aldavi01
  3. From: aldavi01@starbase.spd.louisville.edu (Arlie Davis)
  4. Subject: Re: How to avoid calling time(2)
  5. Sender: news@netnews.louisville.edu (Netnews)
  6. Message-ID: <aldavi01.728235699@starbase.spd.louisville.edu>
  7. Date: Thu, 28 Jan 1993 15:41:39 GMT
  8. Reply-To: Arlie Davis <aldavi01@starbase.spd.louisville.edu>
  9. References: <1993Jan27.195309.15120@cpio1.fr.mugnet.org> <1993Jan28.132632.1374@gandalf.ca>
  10. Nntp-Posting-Host: starbase.spd.louisville.edu
  11. Organization: University of Louisville
  12. Lines: 13
  13.  
  14. gcody@gandalf.ca (Gord Cody) writes:
  15.  
  16. > How about this. Each process attaches to a small shared memory
  17. > segment when they start. 1 process has an alarm go off every
  18. > second, it does the time() call and updates the shared memory.
  19. > Whenever any other process requires the time, it simply uses the
  20. > shared memory value. No setuid required, or running as root, or
  21. > touching of /unix or /de/kmem required. Have a nice day :)
  22.  
  23. You're kidding, right?
  24.  
  25. -- 
  26. lrwx------   1 aldavi01 emacsstu       9 Jun  6 12:43 .signature -> /dev/null
  27.