What is the best mechanism for sending aynchronous external events to the J
session manager in the Linux world?

In Windows, DDE has been decomitted, but I can still use sockets.  When I
get a new socket event,  socket_handler  is called.  Is this also true in
Linux?  Or must I poll?  

The problem with polling is:

   (A)  The target of this application is J developers (who will be using
the 
         session manager for their own purposes).  So I can't block, pause
         or slow (for a human-appreciable amount of time) the IJX window
         or interfere with other running programs.  So I can't poll too 
         frequently.

   (B)  The effect of the event is GUI and should be noticeable immediately
          (again, in human terms), so I can't pool too infrequently.

What are my options?  Can I intercept SIGs in the J session manager? I
looked into jbreak, but it looks like that's treated as a special case in
the binary, so I can't leverage the mechanism.

-Dan
-- 
View this message in context: 
http://www.nabble.com/External-asynchronous-events-in-Linux-tp14373965s24193p14373965.html
Sent from the J Programming mailing list archive at Nabble.com.

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

Reply via email to