• 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: System overhead when creating pthreads?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System overhead when creating pthreads?


  • Subject: Re: System overhead when creating pthreads?
  • From: j o a r <email@hidden>
  • Date: Fri, 25 Nov 2005 12:16:27 +0100


On 25 nov 2005, at 12.12, Theo Vosse wrote:

I have a multi-threaded Cocoa application which runs a (simulation) process in a number of threads. The simulation code is supposed to be portable, so it uses pthreads. It works well, but in the Activity Monitor I see huge "System activity" whenever the new threads start (up to 60%). This activity lasts 4 to 5 seconds. When I disable the thread code (i.e. run the same function sequentially), no such thing happens.

Compare the two ways to run your code with Shark.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >System overhead when creating pthreads? (From: Theo Vosse <email@hidden>)

  • Prev by Date: System overhead when creating pthreads?
  • Next by Date: Suspected bug (was: Removing focus rings from NSImageViews)
  • Previous by thread: System overhead when creating pthreads?
  • Next by thread: Re: System overhead when creating pthreads?
  • Index(es):
    • Date
    • Thread