Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!apple!mips!prls!philabs!ppgbms!paul From: paul@ppgbms (Paul Evan Matz) Newsgroups: comp.windows.news Subject: bindkey process with interest hangs lwp at exit time? Keywords: bindkey NeWS 1.1 Message-ID: <22006@ppgbms.UUCP> Date: 4 Dec 89 23:56:19 GMT Distribution: na Organization: PPG Biomedical Sys., Pleasantville, NY. Lines: 35 Was wondering if anyone out there has had a problem with application light weight processes being hung at exit time if "bindkey" was used to bind a piece of NeWS code to a particular key? We are experiencing the following: an application uses the bindkey utility. Seems to work just fine; The code, bound to the key in question, runs as expected when the key is pressed. Then, when trying to exit, the lwp who called bindkey is hung until the key is pressed. If the key is pressed, the lwp exits normally. Looking at the UI.ps code, it appears that the lwp, created to be interested in the key, is created with a different lwp group: /bound_keys_proc { newprocessgroup createevent dup begin /Name bound_keys def /Action /DownTransition def /Exclusivity true def /Priority 3 def end expressinterest { awaitevent } loop } fork def What kills this guy when his creator is gone? Is that what causes the creator to be hung? Hope this isn't too much old hat, being a NeWS 1.1 problem, and all. Thanks (wishful thinking) _____________________________________________________________ |Regards, One Campus Drive | |Paul Matz PPG Biomedical Systems | |914-741-4685 Pleasantville, NY. 10570| ------------------------------------------------------------- path ppgbms!moe!paul@philabs.philips.com