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

System overhead when creating pthreads?


  • Subject: System overhead when creating pthreads?
  • From: Theo Vosse <email@hidden>
  • Date: Fri, 25 Nov 2005 12:12:03 +0100

Hi,

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.

Does anyone have an idea what might cause this? Is it the mixture of pthreads with Cocao threads?

	Theo
_______________________________________________
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: System overhead when creating pthreads?
      • From: j o a r <email@hidden>
  • Prev by Date: Another Newbie's Insights to cross the Usual Stumbling Blocks Re: Newbie needs help with tableview and bindings
  • Next by Date: Re: System overhead when creating pthreads?
  • Previous by thread: Another Newbie's Insights to cross the Usual Stumbling Blocks Re: Newbie needs help with tableview and bindings
  • Next by thread: Re: System overhead when creating pthreads?
  • Index(es):
    • Date
    • Thread