From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1d5d51400811232142i335bff42vcf3ac153347800bb@mail.gmail.com> Date: Mon, 24 Nov 2008 13:42:49 +0800 From: "Fernan Bolando" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] mounting plumber from p9p to 9vx Topicbox-Message-UUID: 51475bd4-ead4-11e9-9d60-3106f5b1d025 Hi all How do I mount my p9p plumber on to my 9vx session? The background. I am using plumber as a simple dynamic loading mechanism to extend my haskell interpreter. I wrote a few simple C programs that read from one of plumber ports. This is how it works 1. Haskell sends a request to calculate a very complex math via file IO to /mnt/plumb/send 2. plumber reads the message and launches a C-code handler to the specific problem. 3. handler will send an ACK to plumber and then proceeds to do the calculation. 4. Haskell waits on the /mnt/plumb/retval untill it gets a message. The retval can be the result of a calculation or an error code. I want to try moving the handler on to p9p and see if it works that way too. fernan -- http://www.fernski.com