• 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
synchronization and object creation...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: synchronization and object creation...
      • From: Bob Ippolito <email@hidden>
  • Prev by Date: ScreenSaverView/Opaque/Update woes....
  • Next by Date: Re: synchronization and object creation...
  • Previous by thread: ScreenSaverView/Opaque/Update woes....
  • Next by thread: Re: synchronization and object creation...
  • Index(es):
    • Date
    • Thread