Re: multithreaded vs ...?
Re: multithreaded vs ...?
- Subject: Re: multithreaded vs ...?
- From: Dietmar Planitzer <email@hidden>
- Date: Mon, 18 Feb 2002 21:26:40 +0100
>
From: Raphael Sebbe <email@hidden>
>
ps: if you know of simple Java interthread comm (in particular with the
>
Swing drawing thread), I'm still interested !
I've used SwingUtilities.invokeLater(Runable r) to execute a method from a
secondary thread in the context of the main thread. I think the class is
called SwingUtilities, but I don't have currently access to the docs.
>
At least Cocoa provides several documented mechanism for doing that.
Sure, but invokeLater() is much simpler to use than a DO based solution. It
would be very handy to have an equivalent method in Cocoa (naturally taking
a receiver object and method selector rather than a Runable).
Regards,
Dietmar Planitzer
_______________________________________________
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.