Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Porting a system 5 streams app to linux

by rg0now (Chaplain)
on Apr 29, 2005 at 19:29 UTC ( #452727=note: print w/replies, xml ) Need Help??

in reply to Porting a system 5 streams app to linux

What you describe here is a pretty strange sementics, at least for me, socialized on Linux. As far as I can understand you, you require that two or more processes write to the same pipe and the other side, by some miraculous way, can still distinguish between the senders of data. I do not know any facilities on Linux that can provide this to you (but I did not know about sysV streams either, before reading your post, so I might not be relevant here).

However, for me it seems that the only cause you want to do that is to be able to use a C program further, just for the purpose of logging. I know that you might not like this recommendation, but why not get rid of the C program then, and just use some native Perl logging facility, like log4perl? This may save you serious headaches in the long run -- at least, for me it did...:-)

  • Comment on Re: Porting a system 5 streams app to linux

Replies are listed 'Best First'.
Re^2: Porting a system 5 streams app to linux
by suaveant (Parson) on Apr 29, 2005 at 20:30 UTC
    Hehe... obviously I did not explain well... We want to get rid of the C program and turn it into Perl, I was just curious if there were other options that I was not thinking of to do the logging/IPC. Though I ran a mockup with INET tcp that ran about 7000 lines a second, so I think we are all set. I will look at log4perl, however. Thanks!

                    - Ant
                    - Some of my best work - (1 2 3)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://452727]
[stevieb]: Torturing one of my dev RPis to turn four 5v stepper motors at the same time (via Parallel:: ForkManager for 50k degrees (a whole lot of full turns!). Let's see if it burns out or not.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2018-03-22 22:10 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (286 votes). Check out past polls.