• 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
More efficient solution than DO?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More efficient solution than DO?


  • Subject: More efficient solution than DO?
  • From: Julian Barkway <email@hidden>
  • Date: Mon, 29 Jul 2002 22:56:40 +0200

Here's the problem: I have a thread which runs happily and occasionally sends a message or two to a vended proxy UI object in the main thread to keep the user informed of its progress. All this works quite nicely but it's too slow. Anyone know a nice, low-overhead, solution to passing messages to (and getting stuff back from) an object residing in a different thread?

I know Cocoa provides wrappers for Mach messaging but my Unix skills are not that great (I'm still learning!) and I need a few pointers as to how to go about this, whether it's feasible or even whether it's desirable. Would it provide a decent speed up? Would I be able to handle two-way message-passing?

Any pointers gratefully received (failing that, just send money or young virgins :o) )
_______________________________________________
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.
  • Follow-Ups:
    • Re: More efficient solution than DO?
      • From: Nathan Day <email@hidden>
  • Prev by Date: Re: detect control key
  • Next by Date: Display vs. LockFocus and draw
  • Previous by thread: Re: Rearranging NSWindows
  • Next by thread: Re: More efficient solution than DO?
  • Index(es):
    • Date
    • Thread