| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Le 6 avr. 08 à 17:04, Jean-Daniel Dupas a écrit :
As I said, it is a cooperative thread, not a preemptive thread. It is created with
Could I ask you how you create your thread? I'm using multi- threading with modal window without any issues.
The only issues with runModal i know is that by default, the modal run loop handle only a small subset of run loop sources that does not include network sources for example (so NSURLDownload will not process wil a modal window is running).
But with a multi-threaded application, this is not a problem as each thread has is own runloop and should no be affected by other thread activity.
NewThread(kCooperativeThread, ...
The preemptive threads created with MP... work fine
Kurt
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >[NSApp runModalSession] from Carbon app (From: Kurt Sutter <email@hidden>) | |
| >Re: [NSApp runModalSession] from Carbon app (From: Jean-Daniel Dupas <email@hidden>) | |
| >Re: [NSApp runModalSession] from Carbon app (From: Kurt Sutter <email@hidden>) | |
| >Re: [NSApp runModalSession] from Carbon app (From: Jean-Daniel Dupas <email@hidden>) | |
| >Re: [NSApp runModalSession] from Carbon app (From: Kurt Sutter <email@hidden>) | |
| >Re: [NSApp runModalSession] from Carbon app (From: Jean-Daniel Dupas <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.