• 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
Trouble with dual processor machines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble with dual processor machines


  • Subject: Trouble with dual processor machines
  • From: email@hidden (Sebastian Krauß)
  • Date: Mon, 4 Feb 2002 23:07:11 +0100

Hi everybody,

I have written a small app that so far has run just fine. One of the latest versions has serious problems on dual processor machines during startup. Friends who do some testing for me report that they get the "Spinning cursor of death" at startup and it never disappears. This doesn'
t happen every time they launch it, but often.

During startup, there
- is only Cocoa involved
- I do not detach any threads
- I do not use any locks
- I do nothing with the Security framework (which afaik has caused some problems in 10.0.x on dual processor machines) -- I link against it, though.

Basically, what happens during initialization is this:
1. Restore the main window's size and location
2. Initialize some basic stuff like get the userdefaults, initialize the basic variables and set the app's delegate
3. Build up an array with self-made objects that are the targets of dock menu items
4. Load the preferences
5. Check for the existence of a file
6. Load some configuration files
7. Set up custom cells for tableviews, an NSButtonCell and an NSImageCell

Since I thought that my problems might have something to do with some threads that might get detached by the system, I moved some stuff to applicationDidFinishLaunching, like setting the dataSource and the delegates of my tables.

The trouble started when I started using NSSplitViews and subclassed an NSTextField to accept files being dragged onto it.

Did anybody ever experience anything similar or has a clue what might be the reason?

Thank you in advance,

Sebastian
---
"Most people put some sort of quote at the end of their signature.
I don't."
-- Liam Downing


  • Follow-Ups:
    • Re: Trouble with dual processor machines
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Speed of Quartz (was: optimizing compilers)
  • Next by Date: Re: Speed of Quartz (was: optimizing compilers)
  • Previous by thread: Re: Transparent Button
  • Next by thread: Re: Trouble with dual processor machines
  • Index(es):
    • Date
    • Thread