More efficient solution than DO?
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.