• 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: [APPL:DarwinKernel] Re: Sleeping in nanos
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [APPL:DarwinKernel] Re: Sleeping in nanos


  • Subject: Re: [APPL:DarwinKernel] Re: Sleeping in nanos
  • From: Ed Wynne <email@hidden>
  • Date: Thu, 8 Feb 2007 13:33:53 -0500


On Feb 8, 2007, at 12:58 PM, Greg wrote:


On Feb 8, 2007, at 12:23 PM, Jay A. Kreibich wrote:

Yes, it is. Can we please move on?

Yes, I'm sorry for causing so many emails to the list over this thing. I've no intention to further agitate the issue.

Since this discussion has played out exactly like so many others before it,
I feel the urge to summarize what we've learned here today.


	- developer notices OS X behavior is different than Linux
	- developer asks community why OS X sucks
	- community explains OS X behavior
		- many times behavior is better in some way (more fair, accurate, etc)
		- better behavior usually hilights a weakness in developer's code
	- developer defensively grumbles about their code being cross platform
	- developer defensively grumbles about OS X being different than Linux
	- developer defensively grumbles about inaccurate documentation
	- developer defensively ignores inaccurate documentation on Linux
	- developer defensively ignores inaccurate behavior on Linux

In this particular case, the nanosleep() resolution was 10x better on OS X.
This caused a crappy polling behavior to be seen for what it actually was, a
CPU consuming, crappy polling behavior... which ultimately turned out to be
the fault of a crappy OS X man page.


I love this industry.

-Ed

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Sleeping in nanos (From: Terry Lambert <email@hidden>)
 >Re: Sleeping in nanos (From: Greg <email@hidden>)
 >Re: Sleeping in nanos (From: Terry Lambert <email@hidden>)
 >Re: Sleeping in nanos (From: Greg <email@hidden>)
 >Re: Sleeping in nanos (From: Michael Smith <email@hidden>)
 >Re: Sleeping in nanos (From: Greg <email@hidden>)
 >Re: Sleeping in nanos (From: Michael Smith <email@hidden>)
 >Re: Sleeping in nanos (From: Greg <email@hidden>)
 >Re: Sleeping in nanos (From: Graham J Lee <email@hidden>)
 >Re: Sleeping in nanos (From: Greg <email@hidden>)
 >Re: [APPL:DarwinKernel] Re: Sleeping in nanos (From: "Jay A. Kreibich" <email@hidden>)
 >Re: [APPL:DarwinKernel] Re: Sleeping in nanos (From: Greg <email@hidden>)

  • Prev by Date: Re: [APPL:DarwinKernel] Re: Sleeping in nanos
  • Next by Date: Re: How can the so_pcb field of a "socket_t" instance be accessed with KPI?
  • Previous by thread: Re: [APPL:DarwinKernel] Re: Sleeping in nanos
  • Next by thread: Re: Sleeping in nanos
  • Index(es):
    • Date
    • Thread