Path: utzoo!attcan!uunet!husc6!mailrus!uwmcsd1!ig!agate!ucbvax!KUHUB.CC.UKANS.EDU!MICHAL From: MICHAL@KUHUB.CC.UKANS.EDU (Merlin The Magician) Newsgroups: comp.os.vms Subject: Event flags and AST Message-ID: <8807251248.AA15765@ucbvax.berkeley.edu> Date: 19 Jul 88 15:15:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 34 I am stuck with the following problem and I think that I am overlooking something. Part one of my problem was rather easy, problem is really with part 2. Here it comes: 1. I needed to "synchronize" the running of several processes. Those processes were SPAWNed from different accounts IN THE SAME GROUP. It was easy enough to create a (temporary) event flag cluster that all these processes shared and make 'em all wait for a specific event flag. I did this using two very simple programs that I called WAIT and SIGNAL. Essentially when SIGNAL is run, the WAIT program quits running (the event flag is set). 2. What I need to do is the following: I need to declare an AST routine in a program. The AST routine should be called when (preferably) an event flag is set. Problem is I could not find a way to let the program run - apparently you must WAIT for the event flag to be set. I need to let the program run and be interrupted by an event flag being set. Any of you Gurus out there think this is childlessly easy ? Thanks a lot ... +-----------------------------------------------------------------------------+ | Michal Chmielewski K K U U | | Academic Computing Services K K U U | | University of Kansas K K U U | | Lawrence, KS 66045 KK U U | | Audio : 1-(913)-864-0443 K K U U | | BitNet: michal@ukanvax.bitnet K K U U | | michal@ukanvm.bitnet K K UUUUU | +-----------------------------------------------------------------------------+