On Tue, Dec 27, 2016 at 11:41 AM, Joe Reichman <[email protected]> wrote:
> Hi > > Unlike other programming platforms where a program is associated with a > thread or in z/os jargon Task > > There can be number of programs running in the same private address space > under one Task aka TCB > Well, there is only a single "thread of execution" under a single TCB. I.e. you can't dispatch two RBs in a TCB concurrently. But you can "stack" programs where program A can invoke program B which can then return back to the original program. This to basically any depth. This is what the LINK SVC does. > > The RB's associated with the task/TCB differentiate the programs but the > code can live in same private address - range > If I understand you, this is correct. > > Correct ? > I think what you have said is correct. I am not very Windows literate, but do know UNIX some. I do not think that a Windows ".exe" program can run another arbitrary ".exe" as a general subroutine, in the same address space. The same with Linux. A Windows program can use "subroutines" which are dynamically loaded from a DLL. Linux has the equivalent with a "shared object". -- Heisenberg may have been here. http://xkcd.com/1770/ Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
