Hello Alan,

Am 27.10.2021 um 16:05 schrieb Alan Campin <alan0307d@xxxxxxxxx>:

The C programming language has a multi-threading library which is why I use C. I can "fork" a new thread to handle a conversation.

Ah, okay. I also considered threads but I have absolutely no experience wit that, on no platform whatsoever. I do have some experience programming in C on Linux, though.

In C, you fork a new thread to handle the conversation.

Thanks for the hint! I found some examples online. Put them onto the reading list. I guess spawning a thread and making a PJ run is not much different in terms of efficiency? Threads might be easier to handle, though?

Pre-start jobs are just a way to start one to many jobs and have them waiting in a suspended state. They are part of the subsystem description.

I wonder why the IBM documentation is stating PJs as a handler for SNA/APPC communication requests *only*.

The operating system provides function calls that allow me to activate and switch processing to one of these pre-start jobs. Because the job is already running, it starts almost instantaneously. All of this stuff is C api's.

May I ask you for some API names you're using? So I have an initial idea about the approximate location of the needle in this haystack. ;-) Thanks! (And to expand your cat skimming: The haystack has more than one needle hidden and I'm still not sure which one is the nearest one.)

One thing that I should note here. I am a really crappy C programmer. I would imagine that any C programmer that looked at my code would laugh him or herself to death but I make it work. Just not very good at it.

Same here. No matter if C or something else. Since it's a hobby to me, this is okay for me. ;-)

:wq! PoC

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.