Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!jarthur!nntp-server.caltech.edu!bek-owl!mazer From: mazer@bek-owl.caltech.edu (Jamie Mazer) Newsgroups: comp.windows.x Subject: Is X11R3 re-entrant? Keywords: XtMainLoop() SIGALRM Message-ID: <1990Jul22.100004.2941@laguna.ccsf.caltech.edu> Date: 22 Jul 90 10:00:04 GMT Sender: news@laguna.ccsf.caltech.edu Reply-To: mazer@bek-owl.caltech.edu (Jamie Mazer) Distribution: usa Organization: California Institute of Technology Lines: 19 Yet another novice X question :-( Can anyone tell me how reentrant the code in R3 is? In particular, what I'm trying to find out is "how safe it is to use Xt and Xlib calls from inside a signal handler (namely SIGALRM - alarm (2))?" My application uses Xaw to set up an interactive control pannel and then periodically goes off, does some work and then updates output windows (which contain widgets) and so forth. This "going off" is triggered by a SIGALRM. So far I haven't had any problems making toolkit calls from within the handler, but a friend suggested this might be a dangerous thing to do. Anybody care to comment on this issue? Please reply to me, I'll summarize to the net if there's enough/any interest. Thanks a lot /Jamie / mazer@bek-owl.caltech.edu \ \ jmazer@caltech.bitnet /