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.
As I said, it is a cooperative thread, not a preemptive thread. It
is created with
NewThread(kCooperativeThread, ...
The preemptive threads created with MP... work fine
Kurt
Sorry for my missunderstanding. I didn't even know that cooperative
threading was available on OS X.
I have just try to use them in a simple Cocoa project, and I cannot
reproduce your problem.
I have a main method I call in an IBAction method:
one modal loop
one loop
one modal loop
one loop
one modal loop
one loop
...
_______________________________________________
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