Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!cs.utexas.edu!rice!sun-spots-request From: pvo@sapphire.oce.orst.edu (Paul O'Neill) Newsgroups: comp.sys.sun Subject: Sunview windows & SIGALARMs Keywords: Windows Message-ID: <8553@brazos.Rice.edu> Date: 6 Jun 90 05:42:26 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 32 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 184, message 13 I've just finished my first excursion into Sunview programming. Fun. Easy. Impressed the boss. BUT--perhaps a window wiz can help with this unexplained problem. I started with a terminal-driven image processing program that does near-real-time stuff to an input of RS-170 video. I built one panel (with lots of sliders, choices, etc.) in one window in one frame. After startingn window_main_loop(frame); "interupt-driven" type procedures control what the program is doing. Everything worked as expected, except that the image-processor embedded in my 4/110 (SunOS 4.0.1 if you care) was being told when to grab frames and massage them in an "interupt-driven" sort of way by SIGALARMs generated by: ualarm(usec_remaining, usec_interval); and its associated: signal(SIGALRM, takedata) THE PROBLEM: If the cursor is removed from the Sunview panel, or the panel is closed, the SIGALARMs stop and no more data is grabbed or analyzed. Returning to the panel doesn't restart the SIGALARMs. Any ideas? Thanks. Paul O'Neill pvo@oce.orst.edu Coastal Imaging Lab OSU--Oceanography Corvallis, OR 97331 503-737-3251