What kind of events do you want to be dealing with? Javascript document events? Http request events? Some other kind of events?
Thanks, -- Raul On Tue, Jan 7, 2014 at 12:58 PM, Devon McCormick <[email protected]> wrote: > Is there a way to do event-driven input using JHS? > > > On Tue, Jan 7, 2014 at 11:15 AM, bill lam <[email protected]> wrote: > >> May be make it sleep awhile in the tight loop, eg >> >> usleep 1000 >> >> Вт, 07 янв 2014, Jan Jacobs писал(а): >> > ls, >> > I have a busy form of waiting for standard input and use the >> > function stdin=:1!:1&3 for this purpose. >> > In a Linux environment (using jconsole) this consumes a lot of CPU >> cycles. >> > Is there a better way? >> > Thanks in advance, >> > Jan. >> > >> > -- >> > Jan Jacobs >> > Esdoornstraat 33 >> > 5995AN Kessel >> > W: www.sommaps.com >> > T: +31 77 462 1887 >> > M: +31 6 23 82 55 21 >> > E: [email protected] >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> >> -- >> regards, >> ==================================================== >> GPG key 1024D/4434BAB3 2008-08-24 >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > > > > -- > Devon McCormick, CFA > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
