home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!emory!mathcs.emory.edu!km
- From: km@mathcs.emory.edu (Ken Mandelberg)
- Newsgroups: comp.windows.open-look
- Subject: Re: Xview and process blocking?
- Message-ID: <9479@emory.mathcs.emory.edu>
- Date: 5 Sep 92 15:10:14 GMT
- Article-I.D.: emory.9479
- References: <1992Sep3.164826@bnkc08.Bell.CA>
- Sender: news@mathcs.emory.edu
- Reply-To: km@mathcs.emory.edu
- Organization: Emory University, Dept of Math and CS
- Lines: 35
-
- In article 164826@bnkc08.Bell.CA, alex@bnkc08.Bell.CA (Alex Laney) writes:
- >
- >I'm using OW2 and I find that if I set FRAME_BUSY, do some other code, that
- >the X server is locked up, i.e., no other window will get an event if I click
- >on a FRAME_BUSY window. If I don't do a click on a FRAME_BUSY window,
- >everything is fine. Of course, all this plays havoc in a development
- >environment. You have to have a serial terminal or something to do some
- >process killing.
-
- I wish there was a way to avoid this problem, however, we do have a
- trick a little easier than finding a serial terminal, for killing the
- process. As part of our openwin-init we bring up an iconified Sunview
- cmdtool in the corner of the screen. The way the sunview compatibility
- mode works, sunview apps get their events independently even when the
- "X server is locked up". So at a lockup, we just open the sunview
- cmdtool and kill the FRAME_BUSY client, unlocking the server. Except
- for the Sunview icon eating a small bit of screen space, there is not
- much loss in this.
-
- For me the tougher problem is not killing runaway FRAME_BUSY windows,
- but dealing with windows that are FRAME_BUSY during a normal, but long
- processing delay. I run over slip from home, and lots of clients that
- think a network access will be very quick end up being FRAME_BUSY for a
- relatively long time. If you accidentally touch one of its buttons
- while its BUSY, you just have to sit through the lockup (or kill it).
- (For example, if xvnews starts an automatic rescan, and you touch a
- buttom without noticing, there will be a few minutes of lockup).
-
-
-
- ---
- Ken Mandelberg | km@mathcs.emory.edu PREFERRED
- Emory University | {rutgers,gatech}!emory!km UUCP
- Dept of Math and CS | km@emory.bitnet NON-DOMAIN BITNET
- Atlanta, GA 30322 | Phone: Voice (404) 727-7963, FAX 727-5611
-