home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / openloo / 3568 next >
Encoding:
Internet Message Format  |  1992-08-23  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!rutgers!uwvax!uchinews!msuinfo!tardis!adc
  2. From: adc@tardis.msu.edu (Alan D. Cabrera)
  3. Newsgroups: comp.windows.open-look
  4. Subject: Re: Xview: Drawing to the user interface from a
  5. Message-ID: <1992Aug23.170134.24711@msuinfo.cl.msu.edu>
  6. Date: 23 Aug 92 17:01:34 GMT
  7. References: <l9e40bINNth@saltillo.cs.utexas.edu>
  8. Sender: news@msuinfo.cl.msu.edu
  9. Reply-To: adc@tardis.msu.edu
  10. Organization: Michigan State University
  11. Lines: 26
  12.  
  13. In article l9e40bINNth@saltillo.cs.utexas.edu, julian@cs.utexas.edu (Dun Julian Wong) writes:
  14. > I am writing an X-Window application using Xview. There are two processes in 
  15. > the program that are run concurrently. One of the process is the user
  16. > interface, which is controled by xv_main_loop(). The other is my main() program.
  17.  
  18. I would think that having two processes conversing with X, even with
  19. the "correct" parameters, would be very confusing to the underlying
  20. code, hence the core dump.
  21.  
  22. I would rather ask the question, why split your application into two
  23. processes in such a way that BOTH need to do X window calls?  This
  24. indicates to me muddy thinking and the design of your program needs to
  25. be thought out.
  26.  
  27. Of course, I could be wrong; if I had a nickle for ever time I was
  28. wrong...  I'm very interested in hearing about your application as I
  29. still believe that you have improperly partitioned your problem.
  30.  
  31.  
  32. ---
  33. Alan Cabrera                internet:  adc@tardis.cl.msu.edu
  34. Computer Laboratory            phone:     (517) 353-3027
  35. Michigan State University        fax:       (517) 353-9847
  36. 514 Computer Center            bitnet:    CABRERA@MSU
  37. East Lansing, MI 48824
  38.