home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / parallel / 2040 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.3 KB  |  38 lines

  1. Newsgroups: comp.parallel
  2. Path: sparky!uunet!gatech!hubcap!fpst
  3. From: leo@nas.nasa.gov (Leo Dagum)
  4. Subject: Re: Synchonizing watches
  5. Message-ID: <1992Sep3.201927.25562@hubcap.clemson.edu>
  6. Apparently-To: comp-parallel@ames.arc.nasa.gov
  7. Sender: news@nas.nasa.gov (News Administrator)
  8. Organization: NAS, NASA Ames Research Center, Moffett Field, CA
  9. References: <1992Sep3.123226.14205@hubcap.clemson.edu>
  10. Date: Thu, 3 Sep 92 19:54:44 GMT
  11. Approved: parallel@hubcap.clemson.edu
  12. Lines: 24
  13.  
  14. In article <1992Sep3.123226.14205@hubcap.clemson.edu> steve@hubcap.clemson.edu ("Steve" Stevenson) writes:
  15. >[I saw this on sci.logic. I thought it was a nice problem for this group.
  16. >  steve]
  17. >>From: dougs@tvnews.tv.tek.com (Doug Stevens)
  18. >>Message-ID: <1992Sep1.234452.26917@tvnews.tv.tek.com>
  19. >
  20. >[....]
  21.  
  22. Unless I'm missing something, this is fairly straightforward.
  23.  
  24. 1) A zeroes watch, calls B and hangs up.
  25. 2) B waits till phone ends ringing then calls A and hangs up.
  26. 3) B calls A again and hangs up.
  27. 4) A times the first call back, and now knows (AB + BA), when he gets
  28.    the second call back, he now knows BA as well (and therefore AB).
  29. 5) A sets his watch back by AB, and calls B
  30. 6) B picks up the phone and zeroes his watch, they now have (approximately)
  31.    synchronized watches.
  32. 7) Bob's your uncle.
  33.  
  34.  
  35. Leo Dagum
  36. NASA Ames Reseach Center
  37.  
  38.