• 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
Re: bundled & shared library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >bundled & shared library (From: Cocoa Developer <email@hidden>)

  • Prev by Date: Re: determining encoding on documents
  • Next by Date: Re: Forum for advanced Cocoa questions
  • Previous by thread: bundled & shared library
  • Next by thread: Refreshing Finder after icon change
  • Index(es):
    • Date
    • Thread