Re: System overhead when creating pthreads?
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