home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / toolkits / xview / 1234 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.5 KB

  1. Path: sparky!uunet!cs.utexas.edu!news
  2. From: cpg@cs.utexas.edu (Carlos M. Puchol)
  3. Newsgroups: alt.toolkits.xview
  4. Subject: Re: What can you do within an event handler?
  5. Date: 23 Jan 1993 11:53:01 -0600
  6. Organization: Department of Computer Sciences, UT Austin
  7. Lines: 32
  8. Message-ID: <lm31ftINNc99@trurl.cs.utexas.edu>
  9. References: <1993Jan15.152558.7346@nlm.nih.gov> <1993Jan22.225901.20102@afterlife.ncsc.mil>
  10. NNTP-Posting-Host: trurl.cs.utexas.edu
  11.  
  12. dpkemp@afterlife.ncsc.mil (David P. Kemp) writes:
  13. !neve@nlm.nih.gov writes:
  14. !!I'm trying to do some xv_set() calls from within an event
  15. !!handler and then, without exiting from that event handler, proceed
  16. !!to do some heavy processing stuff. I want the xv_set calls
  17. !!to take effect completely before the processing begins.
  18. !!
  19. !! [...]
  20. !!
  21. !!What does it take to get a popup displayed, with ALL
  22. !!its items, while in an event handler?
  23. !!
  24. !
  25. !That's the wrong question.
  26. !
  27. !You want your event handler to start up the heavy processing, then
  28. !return.  The heavy processing thing then can post events while it
  29. !runs to keep you informed of its status, and a final event when it's
  30. !done.
  31.  
  32. You mean doing the heavy processing in the background?
  33.  
  34. Can this be done in some way other than forking and communicating
  35. with the parent process in some flavor of IPC?
  36.  
  37. Can a forked process generate events which would be dealt in the parent?
  38. (It is not clear to me if it would work, i.e. the parent and the son's notifier
  39. would both try to handle the event?)
  40.  
  41. This area is a bit blurred to me. Can anyone clear this up?
  42.  
  43. Thanks.
  44.