defunct performer process

New Message Reply Date view Thread view Subject view Author view

Tom Impelluso (verdi++at++piano.ucsd.edu)
Tue, 30 Sep 1997 11:55:34 -0700


Hi,

I have an xforms code that sprocs() a Performer code.

        performer_pid = sproc( /* etc */);

Later, a button on the xforms code will send a signal to performer:

        kill(performer_pid,SIG_USR1);

Inside the Performer code, just before the main loop, and just
before the pfConfig(), I call signal:

        signal(SIG_USR1, graceful)

Here is Graceful:

        void graceful() {
                pfuExitInput();
                pfuExitUtil();
                pfuExit();
        }
                 

Now, when I do a ps (while the xforms window API is still running),
I no longer see a listing for the sproc'ed children. One would think
I could use the same button that sproc'ed the peformer code and
run it again. The window comes up, but nothing appears.

As a further pathology, if I look at rsults from ps,
I see that old Performer process still there, but listed as defunct.
I cannot seem to have xform (or any other code, for that matter) send
a signal to a perofrmer code taht will kill it once and for all,
(without the defunts lying around).

Help!

Tom
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:01 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.