• 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
NSAutoReleasePools and MPThreads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAutoReleasePools and MPThreads


  • Subject: NSAutoReleasePools and MPThreads
  • From: Michael Rondinelli <email@hidden>
  • Date: Wed, 2 Oct 2002 13:53:05 -0400

Greetings,

I have an application that includes a private framework written in C
which uses Carbon MPThreads. There are a few callbacks into the
application from these MPThreads.

Reading the Cocoa docs on autorelease pools, there are ominous warnings
about not using Cocoa at all from pthreads because there is no storage
for the autorelease pool stack. It appears however that I can safely
allocate an autorelease pool in the MP callback and make some Cocoa
calls without a problem using 10.2.

Is this something that will work under 10.1 or above, or can I only
expect this behavior under Jaguar? Or for that matter, am I just lucky
to have this arrangement working at all?

Thanks,

Michael
--
Michael Rondinelli
V.P. of Technology
EyeSee360, Inc.
email@hidden
_______________________________________________
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: MEETING: MacOS Developer Meeting Davis, CA Fri. 10/11/02
  • Next by Date: Re: Carbon vs Cocoa
  • Previous by thread: Re: Carbon vs Cocoa
  • Next by thread: NSImageCell & drag and drop
  • Index(es):
    • Date
    • Thread