🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37721

Re: XView notify_interpose_wait3_func error?

#37721
From: Heather Rose
Date: Tue, 06 Mar 1990 03:31
27 lines
1433 bytes
In article <5723@crdgw1.crd.ge.com> barnett@crdgw1.ge.com (Bruce Barnett) writes:
>
>	I am trying to write a XView program that detects when a child
>process running in a TERMSW window dies, and allows the user to
>optionally restart the application. I am using the
>notify_interpose_wait3_func error call described on Page 210 in the
>XView manual.
>
>
>	child_pid = (int) xv_get(terminal_sw, TTY_PID);
>	if ( child_pid )
>	  notify_interpose_wait3_func(terminal_sw, my_wait3, child_pid);
>
>I get an error:
>	XView warning: Notifier error: No condition for client

This error message means "There is no event handler of the type specified"
according to page 73 in the SunView System Programmer's Guide.

Since one could do this in SunView, the ttysw would register a default
notify_set_wait3_func() on the tty's child process, this would be a bug.
The workaround is to use the function notify_set_wait3_func instead of
notify_interpose_wait3_func.

Regards,

Heather
Technical Details
Message-ID: <132559@sun.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!swbatl!texbell!texsun!newstop!sun!kimba!hvr
References: <5723@crdgw1.crd.ge.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!swbatl!texbell!texsun!newstop!sun!kimba!hvr
From: hvr@kimba.Sun.COM (Heather Rose)
Newsgroups: comp.windows.x
Subject: Re: XView notify_interpose_wait3_func error?
Message-ID: <132559@sun.Eng.Sun.COM>
Date: 6 Mar 90 03:31:51 GMT
References: <5723@crdgw1.crd.ge.com>
Sender: news@sun.Eng.Sun.COM
Reply-To: hvr@sun.UUCP (Heather Rose)
Organization: Sun Microsystems, Mountain View
Lines: 27