Re: bundled & shared library
Re: bundled & shared library
- Subject: Re: bundled & shared library
- From: James Quick <email@hidden>
- Date: Mon, 21 Jul 2003 17:51:50 -0400
On Monday, July 21, 2003, at 01:57 PM, Cocoa Developer wrote:
Hi,
Has anyone taken an app (bundle, .nib, Localized.rsrc, ...) and invoke
it from another app, such that it runs not as a different process from
the calling program, but on a second thread in some sort of shared
library in a two threaded app?
That's not the way Unix (or mach) works. What file was run from disk
has nothing to do with process or (task/thread) relatedness.
The only way to create a new thread of execution within a task is
to spawn it from within the task. You thus, cannot take two tasks
each with one thread and combine them into 1 task with 2 threads.
If you really need that then the code must be redesigned to do that.
_______________________________________________
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.