home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!ursa!buzz
- From: buzz@toxicavenger.bear.com (Buzz Moschetti)
- Newsgroups: comp.windows.open-look
- Subject: Re: Xview and process blocking?
- Message-ID: <BUZZ.92Aug21081339@toxicavenger.bear.com>
- Date: 21 Aug 92 12:13:39 GMT
- References: <3bbffny@openlook.Unify.Com>
- Sender: news@ursa.UUCP
- Reply-To: buzz@fsrg.bear.com
- Organization: Bear, Stearns & Co. Inc.
- Lines: 9
- In-reply-to: fgreco@shearson.com's message of 20 Aug 92 22:16:51 GMT
-
- 1. Set up the command line, e.g. char *cmd = "cc src1.c src2.c -o a.out";
- 2. Set the parent frames to busy as follows:
- xv_set(<base wins or popup wins>, FRAME_BUSY, TRUE, NULL);
- 3. Use my xrun package to run and reap the command.
- 4. In the child reaper function, reset frames to not-busy.
-
- This will in effect do what you want without actually locking up the
- parent process.
-
-