Message-Id: <41-Tue19Mar2002204957-0800-tim at fungible.com> Date: Tue, 19 Mar 2002 20:45:51 -0700 From-Tims-Fingers: true To: lablgtk at kaba.or.jp Subject: Need threads for terminal emulator? From: tim at fungible.com (Tim Freeman) I'm wanting to write something like a terminal emulator in OCAML with lablgtk. I had intended initially to keep the application single-threaded since the bulk of the code is not concerned with interacting with the subprocess, but I don't see a way to do a select with lablgtk that will return when either there's input available from the subprocess or input available from the window system. Should I give up on using selects and just write a multi-threaded program, or did I miss some feature in lablgtk that would let me do this with only one thread? -- Tim Freeman tim@fungible.com