From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 16 Oct 1995 18:31:51 -0400 From: beto@plan9.cs.su.oz.au beto@plan9.cs.su.oz.au Subject: Panel + forks + postnote Topicbox-Message-UUID: 2de040e0-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19951016223151.UXMExT8KaOhj_rwEg8LgQxuhCd2tr7b530AsvuHcx-k@z> In <95Oct13.094213edt.78814@colossus.cse.psu.edu> td@plan9.att.com wrote: > plan9.cs.su.oz.au!beto asks: > >I'm having problems after killing processes with > >the panel library. It looks like there is some kind of > >sincronization program, I'm not quite sure what's going on. > >The error is > > bitblt: bad slave 32 on event pipe: fd out of > > range or not open > > I believe the problem is that when you execute > postnote(PNGROUP, getpid(), "kill\n"); > after having done > einit(Emouse); > that you're killing the process that's reading the > mouse. Ironically, this postnote appears not to > terminate the processes that you started by calling > filter. At least, it didn't work when I tried it on > my nextstation. > forsyth@plan9.cs.york.ac.uk pointed out the einit's process, so I just put the child process created in filter in a different note group, then did a postnote PNGROUP of that. That works fine. Thanks a lot