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

  1. Newsgroups: comp.parallel
  2. Path: sparky!uunet!gatech!hubcap!fpst
  3. From: Simon.Moore@cl.cam.ac.uk (Simon Moore)
  4. Subject: Re: Synchonizing watches
  5. Message-ID: <1992Sep4.121436.18178@hubcap.clemson.edu>
  6. Apparently-To: comp-parallel@uknet
  7. Sender: Piete.Brooks@cl.cam.ac.uk (Piete Brooks)
  8. Reply-To: Simon.Moore@cl.cam.ac.uk (Simon Moore)
  9. Organization: U of Cambridge Computer Lab, UK
  10. References: <1992Sep3.123226.14205@hubcap.clemson.edu> <1992Sep3.201927.25562@hubcap.clemson.edu>
  11. Date: Fri, 4 Sep 92 10:26:52 GMT
  12. Approved: parallel@hubcap.clemson.edu
  13. Lines: 34
  14.  
  15. In article <1992Sep3.201927.25562@hubcap.clemson.edu>, leo@nas.nasa.gov
  16. (Leo Dagum) writes:
  17. |> In article <1992Sep3.123226.14205@hubcap.clemson.edu>
  18. steve@hubcap.clemson.edu ("Steve" Stevenson) writes:
  19. |> >[I saw this on sci.logic. I thought it was a nice problem for this group.
  20. |> >  steve]
  21. |> >>From: dougs@tvnews.tv.tek.com (Doug Stevens)
  22. |> >>Message-ID: <1992Sep1.234452.26917@tvnews.tv.tek.com>
  23. |> >
  24. |> >[....]
  25. |> 
  26. |> Unless I'm missing something, this is fairly straightforward.
  27. |> 
  28. |> 1) A zeroes watch, calls B and hangs up.
  29. |> 2) B waits till phone ends ringing then calls A and hangs up.
  30. |> 3) B calls A again and hangs up.
  31. |> 4) A times the first call back, and now knows (AB + BA), when he gets
  32. |>    the second call back, he now knows BA as well (and therefore AB).
  33. |> 5) A sets his watch back by AB, and calls B
  34. |> 6) B picks up the phone and zeroes his watch, they now have (approximately)
  35. |>    synchronized watches.
  36. |> 7) Bob's your uncle.
  37.  
  38. I have a problem with this - B could place the second call (number 3) at
  39. any time and therefore A is unable to determine the delay BA.  For example,
  40. if B places the second call to A 1 second after the first, then all A will
  41. see is two calls 1 second apart.
  42.  
  43. Bob isn't my uncle?
  44.  
  45.  - Simon
  46.  
  47. [Simon Moore][University of Cambridge, Computer Laboratory][swm11@uk.ac.cam.cl]
  48.  
  49.