• 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: [ANN] FDWeakReferencingObject and FDObjectiveMethod
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] FDWeakReferencingObject and FDObjectiveMethod


  • Subject: Re: [ANN] FDWeakReferencingObject and FDObjectiveMethod
  • From: "John C. Randolph" <email@hidden>
  • Date: Tue, 3 Jul 2001 12:17:26 -0700

On Tuesday, July 3, 2001, at 11:36 AM, Rob Rix wrote:

As a consumer of such classes, I would certainly like to see announcements
on this list. Preface the subject line with [ANN] to attract attention.

In that case...
I've got two utility classes out.

[snippage]

FDObjectiveMethod is a slightly less simple class for treating a method as an object. You initialize it with a complete invocation (any incomplete invocations will not currently result in errors, because I haven't got to that point yet), and then you can execute it. You can also stopExecution, and as it happens, the invocation is run in another thread. This makes for some rather easy multithreading, except for some difficulties with two-way communication (it's better for just running a slave job in a new thread, currently, but I'm working on that).

I don't get it. What does this offer that NSInvocation doesn't?

-jcr

begin
(If this message looks like it has an attachment, your mail reader is brain-dead.)


  • Follow-Ups:
    • Re: [ANN] FDWeakReferencingObject and FDObjectiveMethod
      • From: Rob Rix <email@hidden>
References: 
 >[ANN] FDWeakReferencingObject and FDObjectiveMethod (From: Rob Rix <email@hidden>)

  • Prev by Date: Re: Customized document creation
  • Next by Date: Re: [ANN] FDWeakReferencingObject and FDObjectiveMethod
  • Previous by thread: [ANN] FDWeakReferencingObject and FDObjectiveMethod
  • Next by thread: Re: [ANN] FDWeakReferencingObject and FDObjectiveMethod
  • Index(es):
    • Date
    • Thread