× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Alan,

Am 26.10.2021 um 16:06 schrieb Alan Campin <alan0307d@xxxxxxxxx>:

No, that is not how socket servers work. The socket server is just sitting and listening for connection requests. When it gets one it forks a new process.

Okay. Now comes the interesting question: There is no fork() call in IBM i. How exactly is this "forking" done?

That process receives the request and then spawns a new job to do the processing. That job is a pre-start job so it can start instantaneously.

You mean, it can *run* instantaneously, yes? What are the important bits of the innards of a PJ program? I did not find information about that yet. What triggers it to run instead just lingering around activated (by the SBS?)? What needs to be done to make it go back to activated-but-finished-with-work state? Especially in hindsight on C being used.

Thanks!

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.