home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!rpi!gatech!concert!samba!usenet
- From: Chris.Fortin@launchpad.unc.edu (Chris Fortin)
- Subject: amidos file locking
- Message-ID: <1992Dec30.211817.26987@samba.oit.unc.edu>
- Followup-To: comp.sys.amiga.programmer
- Keywords: file locks unix ports
- Sender: <fortin@orca.ele.uri.edu>
- Nntp-Posting-Host: lambada.oit.unc.edu
- Organization: University of North Carolina Extended Bulletin Board Service
- Date: Wed, 30 Dec 1992 21:18:17 GMT
- Lines: 33
-
- Hello all,
-
- I have been trying to run a port of a pair of unix programs to
- the amiga via M. Wild's gcc port. Everything compiles fine, but
- the two programs communicate via one popening the other. Eventhis works
- to some extent, but the pipe doesnt appear to flush until it it closed.
- Similarly i have noticed the when one process has a file open, vi tst.texe
- for instance, the file test.c can not be read by other procs ie tex tst
- fails because tst.tex can't be opened until i quit vi. I would guess that these
- two effects are related. What i would ask, is what is the easiest way to set up
- asycronous communication between the two procs? I would rather not have to
- mess with their source, and would rather impilent some sort of third party
- message passing system. The applications are a math package that pipes
- commands to gnuplot, and obviously it wouldn't do to have all the plots
- pile up until the first app exits, and it is impractical to restart
- gnuplot for each plot ( assuming i do break the pipe each time.)
-
- I would appreciate pointers to any source that impliments this type
- of message passing. As an asside, do you think AREXX would be sufficient
- as a communication host?
-
- i Thanks to everyone, and a special thanks to Markus Wild for bringing gcc to the
- amiga.
-
- Christopher Fortin
-
- <fortin@orca.ele.uri.edu> <fortin@tautog.npt.nuwc.navy.mil>
-
- --
- The opinions expressed are not necessarily those of the University of
- North Carolina at Chapel Hill, the Campus Office for Information
- Technology, or the Experimental Bulletin Board Service.
- internet: laUNChpad.unc.edu or 152.2.22.80
-