Re: Threads in Apps
Re: Threads in Apps
- Subject: Re: Threads in Apps
- From: "Nick Emery" <email@hidden>
- Date: Wed, 06 Jun 2001 09:26:30 +0100
- Organization: Peramon technology Ltd
Raphael Sebbe wrote:
>
There are many options when it comes to inter-thread communication. From
>
a Cocoa standpoint, the most common ones are Port Messages and DO
>
(Distributed Objects). There are other inter-thread comm means (pipes,
>
socket, mutex/shared mem...), but in your case, you need runloop based
>
ones because of the AppKit thread, which runs a runloop. (well, NSPipes
>
could probably do it too...).
unfortunately, most of these inter thread communication facilities are not available in the java cocoa environment because they are not implemented (e.g., NSConnection) or the implementation appears to be too incomplete to be useful (e.g., NSPort).
thanks for the suggestions anyway --nikki