synchronization and object creation...
synchronization and object creation...
- Subject: synchronization and object creation...
- From: Teunis Peters <email@hidden>
- Date: Tue, 31 May 2005 01:13:49 -0700
I have a whole bunch of objects created from loading of a dictionary.
There comes a key stage where some piece of information needs to be
entered to proceed.... (eg: a password). Rather than being
sequential, having the first one operate and then the others block
waiting on it - they all run in parallel.
It's very disconcerting.
Especially with a dozen popup panels appearing.
I've even blocked it off with @synchronize....
Am I going to have to use a mutex?
And since when am I running a multithreaded program? I never wrote
any threads into this...
Actually I'm going to write a global mutex against this next - it's a
terribly key component. I just did NOT expect this behaviour - any
suggestions on where I can find out more? (so I don't get surprised
more?)
PS: I'm now going to operate assuming this is a multithreaded project.
I'm not needing a solution - just some info on what threading
behaviour/initialization behaviour to watch out for. I didn't find
anything searching...
_______________________________________________
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