On Fri, Feb 26, 2010 at 9:18 AM, Don Guinn <[email protected]> wrote:
> Thanks. Will go to UNIX and try there. As I understand sdselect it hangs
> until either a socket event occurs or the timer expires. What I was wanting
> to do was to allow other events such as forms events to also be handled as
> can be done in Windows using adsync. I guess in UNIX one has to set a
> reasonably small timer in sdselect to let J wake up and see if anything else
> needs to be done.

Yes.

In concept, J under unix could implement sdasync using
select (or poll), but this has to be implemented in the
main loop for a reasonable implementation.  (I filed a
feature request for this
   http://www.jsoftware.com/jwiki/System/Library/Requests#sdasyncforUNIX
but i filed it as a library request and it can not be implemented
without changing J's main loop.)

J7 looks like a big step in the right direction for making this
possible.

FYI,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to