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
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
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
>
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
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
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
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
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
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