• 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
Open Transport contexts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open Transport contexts


  • Subject: Open Transport contexts
  • From: "Pietrzak, Bryan" <email@hidden>
  • Date: Tue, 11 Feb 2003 12:00:44 -0700

OK, question, my carbon CFM app looks like this:

SomeApp
MyLibrary
OpenPlayLib


- OpenPlayLib initializes OpenTransport using the kInitOTForExtensionMask

- OpenPlay does not have any API to return its OTClientContextPtr

- MyLibrary needs to call OTAllocMemInContext, but it does not use any OT
calls directly, it's going through the OpenPlay APIs, I just need to
allocate memory in an interrupt. I'm not sharing OP assets or anything, I
just need interrupt time memory allocations on OS 8/9.

- SomeApp may or may not initialize OpenTransport, I don't know, it's out of
my control. (so as I understand things, I can't use NULL for the client
context)

I've read "Understanding Open Transport Asset Tracking"
(http://developer.apple.com/technotes/tn/tn1173.html/) but it's not 100%
clear to me if I can initialize OT again in MyLibrary using the
kInitOTForExtensionMask again.


Bryan
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Media Type of Shared Volume
  • Next by Date: Re: Media Type of Shared Volume
  • Previous by thread: Re: Media Type of Shared Volume
  • Next by thread: Re: Open Transport contexts
  • Index(es):
    • Date
    • Thread