• 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: threads or processes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: threads or processes?


  • Subject: Re: threads or processes?
  • From: Andreas Färber <email@hidden>
  • Date: Mon, 30 Jan 2006 02:58:06 +0100

Daniel Jalkut schrieb:
> Well, I regularly run more than 100 processes on my PowerMac G5 2.0Ghz.
>
> And the new Intel macs are supposed to be about a bajillion or 2
> bajillion times faster than that, so I hear.
The fact that you have any number of processes running does not
contribute to whether it is more performant to use processes, threads or
run loops. Having 100 threads running within one process will likely
still be faster on both PPC and Intel! It eliminates some overhead for
the OS and processor when switching between them, as a process has an
address space of its own whereas a thread does not ("lightweight
process"), only some associated context information I believe.

Andreas


P.S. Doesn't Apache 2.x support running on multiple threads? Or is that
for Windows only?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: threads or processes?
      • From: Daniel Jalkut <email@hidden>
References: 
 >threads or processes? (From: Andrew Bush <email@hidden>)
 >Re: threads or processes? (From: Andrew Farmer <email@hidden>)
 >Re: threads or processes? (From: John Stiles <email@hidden>)
 >Re: threads or processes? (From: Michael Rothwell <email@hidden>)
 >Re: threads or processes? (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: threads or processes?
  • Next by Date: Re: KVC broken in 10.4.4 on Intel?
  • Previous by thread: Re: threads or processes?
  • Next by thread: Re: threads or processes?
  • Index(es):
    • Date
    • Thread