Gravatar In Objcetive-C you can hack classic threading implementations using NSInvocation! Quite nifty ...

http://nifty-box.com/blog/2006/1...ion-part- 2.html


Gravatar Thanks, I hadn't seen that one before!

I'm still looking around for a lightweight way to send and receive messages to other Cocoa threads. (Think Erlang-style asynchronous send with a blocking receive.) I've yet to find a satisfactory solution; mayhap I'll have to write my own the next time I need to do any multithreading...


Gravatar How about using Asynchronous Thread Messaging?
http://www.2pi.dk/tech/cocoa/ mes...sage_queue.html


Gravatar Ah, thank you Karl. That was pretty much exactly what I was looking for... I didn't know that YAMessageQueue existed, and it wasn't for lack of looking!




Name:

Email:

URL:

Comment:  ? 

 

Commenting by HaloScan