Open Transport contexts
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.