• 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: Use CFMessagePort in CFM app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use CFMessagePort in CFM app?


  • Subject: Re: Use CFMessagePort in CFM app?
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Tue, 13 Jul 2004 06:29:20 -0400

Hello Quinn,

In the meantime I had already solved the problem with some help from DTS.
I remember I didn't understand how to use CFBundleGetDataPointerForName in
this case.
Does it simply return a StringRef if name = kCFRunLoopDefaultMode?

I have found these message ports can be tricky. If you want to recreate a
port with the same name you must be careful to kill the original port
thoroughly lest you get a cached object back.
Even then creating a remote port connection may hand you a cached object.
It seems that sometimes CFSendMessageRequest retains but does not release
(I pass nil for the reply mode to indicate I don't expect a reply). I
suppose it autoreleases(?) but due to very heavy processing in my threads
the remote port may not have been released in time (?).

Jan
_______________________________________________
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.


  • Follow-Ups:
    • Re: Use CFMessagePort in CFM app?
      • From: Quinn <email@hidden>
  • Prev by Date: Newbie Question
  • Next by Date: Re: Newbie Question
  • Previous by thread: Re: Use CFMessagePort in CFM app?
  • Next by thread: Re: Use CFMessagePort in CFM app?
  • Index(es):
    • Date
    • Thread