From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,7244cea9c58d559a,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,7244cea9c58d559a,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10cebf,7244cea9c58d559a,start X-Google-Attributes: gid10cebf,public X-Google-ArrivalTime: 1993-12-30 08:23:41 PST Xref: gmd.de comp.os.vms:37914 comp.sys.dec:12614 comp.sys.dec.micro:1379 Newsgroups: comp.os.vms,comp.sys.dec,comp.sys.dec.micro Path: gmd.de!xlink.net!sol.ctr.columbia.edu!caen!malgudi.oar.net!news.cs.uah.edu!cs.uah.edu!vchagant From: vchagant@cs.uah.edu (Venkata Chaganti) Subject: Help! How can i create a subprocess to run a subroutine of the main program Message-ID: <1993Dec30.155802.21545@cs.uah.edu> Sender: vchagant@cs.uah.edu (Venkata Chaganti) Reply-To: vchagant@cs.uah.edu (Venkata Chaganti) Organization: Computer Science Dept., Univ. of Alabama-Huntsville Date: Thu, 30 Dec 93 15:58:02 GMT HI VMS GURUS, WE have VAX/VMS V5.5-2 Running on differnet VAX stations clustered. I want to know how can i do the following. HOW can i create a subprocess parallel to the main process and call a subrotine and execute the subroutine using the subprocess. (I found LIB$SPAWN() can be called to create the subprocess and call run executable program out of the main program). I need to call the subroutine of the same program. For example in the x-window program main process do the drawing functions. sub process checks for the expose event and exposes the window. main process subprocess draw line check expose draw circle (It should check irrespective of the main process all the time utill main process killed). I appriciate if some one can provide an example. HAPPY NEW YEAR Thanks for your help chaganti, V.S vchagant@uahcs2.cs.uah.edu or chaganti@ebs330.eb.uah.edu