Re: Process forking on Windows - or what is MQSeries

2006-05-19 Thread Benji York
Andrew Robert wrote: > In this situation, it is possible for a process(my python program) to > monopolize and block other processes from being triggered. > > Ideally, this needs to be avoided through the use of a fork. Another option would be to write the incoming messages to your own queue (an

Re: Process forking on Windows

2006-05-18 Thread Tim N. van der Leeuw
Andrew Robert wrote: > bruno at modulix wrote: [...] > > > > > > Is this really the solution ? > > > > [...] > > > Unfortunately there is a real need for this. > > The MQSeries trigger monitor is single threaded. > > Because of this, my program would absorb it until it completes. > > The way to

Re: Process forking on Windows - or what is MQSeries

2006-05-18 Thread bruno at modulix
Andrew Robert wrote: > Gary Herron wrote: > >>Andrew Robert wrote: >> > > > >>The windows CreateProcess call has many of the same semantics as the >>Unix fork, i.e., a new process is created sharing all the resources of >>the original process. The "subprocess" modules uses CreateProcess, but >

Re: Process forking on Windows

2006-05-18 Thread bruno at modulix
Andrew Robert wrote: > bruno at modulix wrote: > >>Andrew Robert wrote: >> >>>Hi everyone, >>> >>> >>>I have a python program that will need to interact with an MQSeries >>>trigger monitor. >>> >>>It does this fine but it hogs the trigger monitor while it executes. >>> >>>I'd like to fork the prog

Re: Process forking on Windows - or what is MQSeries

2006-05-17 Thread Andrew Robert
Gary Herron wrote: > Andrew Robert wrote: > > > The windows CreateProcess call has many of the same semantics as the > Unix fork, i.e., a new process is created sharing all the resources of > the original process. The "subprocess" modules uses CreateProcess, but > if that does not give you suf

Re: Process forking on Windows

2006-05-17 Thread Gary Herron
Andrew Robert wrote: >bruno at modulix wrote: > > >>Andrew Robert wrote: >> >> >>>Hi everyone, >>> >>> >>>I have a python program that will need to interact with an MQSeries >>>trigger monitor. >>> >>>It does this fine but it hogs the trigger monitor while it executes. >>> >>>I'd like to for

Re: Process forking on Windows

2006-05-17 Thread Andrew Robert
bruno at modulix wrote: > Andrew Robert wrote: >> Hi everyone, >> >> >> I have a python program that will need to interact with an MQSeries >> trigger monitor. >> >> It does this fine but it hogs the trigger monitor while it executes. >> >> I'd like to fork the program off and terminate the parent

Re: Process forking on Windows

2006-05-17 Thread bruno at modulix
Andrew Robert wrote: > Hi everyone, > > > I have a python program that will need to interact with an MQSeries > trigger monitor. > > It does this fine but it hogs the trigger monitor while it executes. > > I'd like to fork the program off and terminate the parent process so > that the trigger m

Re: Process forking on Windows

2006-05-17 Thread Gary Herron
Andrew Robert wrote: >Hi everyone, > > >I have a python program that will need to interact with an MQSeries >trigger monitor. > >It does this fine but it hogs the trigger monitor while it executes. > >I'd like to fork the program off and terminate the parent process so >that the trigger monitor fr