• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: UDP Sockets & Clock Synchronization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: UDP Sockets & Clock Synchronization


  • Subject: RE: UDP Sockets & Clock Synchronization
  • From: "Wade Williams" <email@hidden>
  • Date: Thu, 28 Feb 2002 10:22:18 -0600

>Everyone's ideas about the separate
>thread are good, except for OS 9. I looked into pthreads, and as far as I
>can tell, they are cooperative, which I believe means they would only get
>called at WaitNextEvent(), which is every 33 ms.

You may be forced into writing two versions of your network code.

One, synchronous/blocking with threads on OS X, and the other,
async/blocking on OS9.

(This is why Apple deciding to use standard sockets in OS X was a good
thing. It allows us to use the networking model the rest of the world
uses - sync/blocking with threads, not to mention the fact that Windows or
Unix network code will port over with almost no changes)

Wade
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • RE: UDP Sockets & Clock Synchronization
      • From: Eric Gundrum <email@hidden>
References: 
 >Re: UDP Sockets & Clock Synchronization (From: Zack Morris <email@hidden>)

  • Prev by Date: Re: UDP Sockets & Clock Synchronization
  • Next by Date: Re: UDP Sockets & Clock Synchronization
  • Previous by thread: Re: UDP Sockets & Clock Synchronization
  • Next by thread: RE: UDP Sockets & Clock Synchronization
  • Index(es):
    • Date
    • Thread