home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / openloo / 3539 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  863 b 

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