home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / modula3 / 1084 < prev    next >
Encoding:
Internet Message Format  |  1992-12-20  |  1.2 KB

  1. Path: sparky!uunet!spool.mu.edu!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!poly-vlsi!usenet!dagenais
  2. From: dagenais@vlsi.polymtl.ca (Michel Dagenais)
  3. Newsgroups: comp.lang.modula3
  4. Subject: Forking a threaded Modula 3 process
  5. Message-ID: <DAGENAIS.92Dec17090549@pollux.vlsi.polymtl.ca>
  6. Date: 17 Dec 92 14:05:49 GMT
  7. Sender: news@vlsi.polymtl.ca (USENET News System)
  8. Organization: Ecole Polytechnique de Montreal, Canada
  9. Lines: 16
  10.  
  11.  
  12. I want to communicate between a Modula 3 program and another already
  13. written C program. Ideally, the C program should interact through its
  14. stdin/stdout/stderr file descriptors. I know how to do that by creating
  15. pipes, forking the Modula 3 program and exec on the C program. I am worried
  16. about the multiple threads in the forked process however (they should not
  17. attemps X windows output and so on). I suppose that adding an interface to
  18. the "popen" unix call would be cleaner and safer. Advices?
  19. --
  20. ---------------------------------------------------------------------
  21.  
  22. Prof. Michel Dagenais                dagenais@vlsi.polymtl.ca
  23. Dept of Electrical and Computer Eng.
  24. Ecole Polytechnique de Montreal            tel: (514) 340-4029
  25.  
  26. ---------------------------------------------------------------------
  27.