Path: utzoo!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!UCBVAX.BERKELEY.EDU!"Dan Karron From: Dan Karron@UCBVAX.BERKELEY.EDU Newsgroups: comp.sys.sgi Subject: Interrupting long draw cycles Message-ID: <9103112256.AA08202@karron.med.nyu.edu> Date: 11 Mar 91 22:56:24 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron@cmcl2.nyu.edu Organization: The Internet Lines: 30 I am curious about using this technique: I want to change the viewing parameters of a drawing loop. I want to interrupt the drawing program with a signal, say SIGUSR1. The signal handler will then do a longjmp back to the main drawing loop with new eye position and viewing values and start drawing. This will entail the gl calls being interrupted and aborted at any step. My experiments with this code have resulted in occational aborts of the graphics subsystem and the system returning to pandora. Is there a gracefull way to interrupt the gl subsystem to regain control ? Can I stop a long draw cycle and start another without dammage to the gl pipeline ? Cheers! Dan. +-----------------------------------------------------------------------------+ | karron@nyu.edu (E-mail alias that will always find me) | | Fax: 212 263 7190 * Dan Karron, Research Associate | | . . . . . . . . . . . . . . * New York University Medical Center | | 560 First Avenue \*\ Pager <1> (212) 397 9330 | | New York, New York 10016 \**\ <2> 10896 <3> | | (212) 263 5210 \***\_________________________________________ | | Main machine: karron.med.nyu.edu (128.122.135.3) IRIS 85GT | +-----------------------------------------------------------------------------+