I use the User Queue a bit differently. The request is sent to the
pre-start job via a message but I need a way to get back a response when
it is finished. That's what I use the User Queue for.

On Tue, Oct 26, 2021 at 7:09 AM David Gibbs via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

On 10/26/21 7:27 AM, Patrik Schindler wrote:
Do I get this correct? You had a socket listener running (as PJ?),
and dynamically spawn workers?

I did something like that for my TCP servers.

Although I had a user configurable number of workers pre-spawned.

I didn't use PJ jobs ... I just submitted regular batch jobs to QUSRNOMAX.

I don't really understand what the queue is meant to do. A deposit
for communication between the socket listener and the peer
application?

The data queue is used to hand the socket descriptor from the monitor
job to the worker job.

Each time the monitor job hands off a descriptor to a worker job, a new
worker job was spawned to take the place of the job being used.


--
I'm riding in the American Diabetes Association's Tour de Cure to raise
money for diabetes research, education, advocacy, and awareness. You
can make a tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive
donation map ... https://mideml.diabetessucks.net/map (it's a geeky
thing).
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.