• 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
[NSApplication run] called from not the default thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[NSApplication run] called from not the default thread?


  • Subject: [NSApplication run] called from not the default thread?
  • From: "Corey O'Connor" <email@hidden>
  • Date: Fri, 23 Jul 2004 14:38:14 -0700

I'm working on an application where most of the app is done in OCaml,
with the GUI done in Cocoa/Objective-C. One handy feature of OCaml is
the interactive environment. Which, theoretically, I could use to load
up individual parts of my application and interact with them and my
debugging speed will be oh so much faster. In theory anyways....

I would like to interact with OS X Cocoa environment, even in this
interactive environment. I think I can do this if the GUI runs on a
separate thread which I can query for messages when I want. This means
that the thread in which I call NSApplicationMain(argc, argv) will not
be the initial thread in which main is executed.

Does anybody know if this will be a problem?

--
-Corey O'Connor
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: AirTunes Details
  • Next by Date: Re: Forwarding to Super
  • Previous by thread: Re: Design Principles
  • Next by thread: NSOutlineView cells being truncated
  • Index(es):
    • Date
    • Thread