[NSApplication run] called from not the default thread?
[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.