home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!news
- From: cpg@cs.utexas.edu (Carlos M. Puchol)
- Newsgroups: alt.toolkits.xview
- Subject: Re: What can you do within an event handler?
- Date: 23 Jan 1993 11:53:01 -0600
- Organization: Department of Computer Sciences, UT Austin
- Lines: 32
- Message-ID: <lm31ftINNc99@trurl.cs.utexas.edu>
- References: <1993Jan15.152558.7346@nlm.nih.gov> <1993Jan22.225901.20102@afterlife.ncsc.mil>
- NNTP-Posting-Host: trurl.cs.utexas.edu
-
- dpkemp@afterlife.ncsc.mil (David P. Kemp) writes:
- !neve@nlm.nih.gov writes:
- !!I'm trying to do some xv_set() calls from within an event
- !!handler and then, without exiting from that event handler, proceed
- !!to do some heavy processing stuff. I want the xv_set calls
- !!to take effect completely before the processing begins.
- !!
- !! [...]
- !!
- !!What does it take to get a popup displayed, with ALL
- !!its items, while in an event handler?
- !!
- !
- !That's the wrong question.
- !
- !You want your event handler to start up the heavy processing, then
- !return. The heavy processing thing then can post events while it
- !runs to keep you informed of its status, and a final event when it's
- !done.
-
- You mean doing the heavy processing in the background?
-
- Can this be done in some way other than forking and communicating
- with the parent process in some flavor of IPC?
-
- Can a forked process generate events which would be dealt in the parent?
- (It is not clear to me if it would work, i.e. the parent and the son's notifier
- would both try to handle the event?)
-
- This area is a bit blurred to me. Can anyone clear this up?
-
- Thanks.
-