Re: Controlling one process depending on the status of another

2010-03-08 Thread Eric Veith1
Jay: Jay Savage wrote on 03/08/2010 08:53:40 PM: > It sounds like Term::Readline is using Term::ReadLine::Gnu as the > back-end. The problem there is that, to Perl, the XS call for GNU > readline() looks like a single system call. > Try setting the PERL_RL environment to "Perl" instead of "Gnu":

Re: Controlling one process depending on the status of another

2010-03-08 Thread Jay Savage
On Mon, Mar 8, 2010 at 10:27 AM, Eric Veith1 wrote: > "Bob McConnell" wrote on 03/05/2010 08:22:23 PM: >> The way I read his problem description, it sounded neither simple nor >> easy. > > Bob, Jay, > [snip] > You see, there's IPC on the local machine and possibly sockets to a remote > machine.

RE: Controlling one process depending on the status of another

2010-03-08 Thread Eric Veith1
"Bob McConnell" wrote on 03/05/2010 08:22:23 PM: > The way I read his problem description, it sounded neither simple nor > easy. Bob, Jay, I fear, Jay, my explanaitions weren't fully able to depict what my app is trying to archieve. It is not only a matter of IPC on one machine that happens to

Re: Controlling one process depending on the status of another

2010-03-07 Thread Dr.Ruud
Jeremiah Foster wrote: "Unix processes are one of two techniques for achieving reliable concurrency and parallelism in server applications. Threads are out. You can use processes, or async/events, or both processes and async/events, but definitely not threads. Threads are out." For people w

Re: Controlling one process depending on the status of another

2010-03-06 Thread Jeremiah Foster
On Mar 5, 2010, at 20:22, Bob McConnell wrote: > From: Jay Savage >> On Wed, Mar 3, 2010 at 8:28 AM, Bob McConnell wrote: >> [snip] >>> >>> However, if the application is this complex, is Perl really the best >>> language to use? It would not be my first choice. >> >> That is a very strange st

RE: Controlling one process depending on the status of another

2010-03-05 Thread Bob McConnell
From: Jay Savage > On Wed, Mar 3, 2010 at 8:28 AM, Bob McConnell wrote: > [snip] >> >> However, if the application is this complex, is Perl really the best >> language to use? It would not be my first choice. > > That is a very strange statement to make on a Perl beginners list, not > least becau

Re: Controlling one process depending on the status of another

2010-03-05 Thread Jay Savage
On Wed, Mar 3, 2010 at 8:28 AM, Bob McConnell wrote: [snip] > > However, if the application is this complex, is Perl really the best > language to use? It would not be my first choice. > That is a very strange statement to make on a Perl beginners list, not least because it's complete bosh. Wha

RE: Controlling one process depending on the status of another

2010-03-04 Thread Bob McConnell
From: Eric Veith1 > Bob, > > what language would you have used? I admit this is my first Perl project > to involve this kind of child process handling. Eric, The final choice depends very much on A) target environment and B) resources required. The use of libraries, both private and third par

Re: Controlling one process depending on the status of another

2010-03-04 Thread Eric Veith1
Jeremiah Foster wrote on 03/03/2010 02:09:40 PM: > I would avoid threads. I would have a program / process on machine 0 > that fires off another program / process on machine 1. Then I guess > you need to fire off your program on machine 2 to do network > monitoring (?). When the program on 1 is

RE: Controlling one process depending on the status of another

2010-03-03 Thread Bob McConnell
From: Jeremiah Foster > On Feb 26, 2010, at 10:34 PM, Eric Veith1 wrote: >> >> I'm wrinting a perl program that works with different threads. > > Your first sentence already has me worried. Threads are un-fun. > >> Those >> threads depend on each other, not all in the same way. Some threads sh

Re: Controlling one process depending on the status of another

2010-03-03 Thread Jeremiah Foster
On Feb 26, 2010, at 10:34 PM, Eric Veith1 wrote: > Dear list, > > I'm wrinting a perl program that works with different threads. Your first sentence already has me worried. Threads are un-fun. > Those > threads depend on each other, not all in the same way. Some threads should > stop when o

Controlling one process depending on the status of another

2010-02-27 Thread Eric Veith1
Dear list, I'm wrinting a perl program that works with different threads. Those threads depend on each other, not all in the same way. Some threads should stop when others are finished with their work, and again others are to be started afterwards. The current architecture I have in mind is tha