Sujet : Re: Upcoming time boundary events
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 02. Jun 2025, 02:54:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101j09e$2ob01$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Mozilla Thunderbird
On 6/1/2025 9:49 PM, Arne Vajhøj wrote:
On 5/30/2025 6:41 PM, Lawrence D'Oliveiro wrote:
On Fri, 30 May 2025 09:46:27 +0200, Marc Van Dyck wrote:
Well, is anyone else proposing a suitable replacement for FAL and
transparent task to task communication ?
>
The irony of it, that the DEC concept requires creating a separate server
process for every client connection,
It doesn't.
Processes are re-used for task to task servers.
Modified version of add server:
$ type add2.com
$ open/read/write f sys$net
$ read f num1
$ num1 = f$integer(num1)
$ read f num2
$ num2 = f$integer(num2)
$ numres = num1 + num2
$ numres = f$string(numres)
$ write f numres
$ pid = f$getjpi(0, "PID")
$ write f pid
$ close f
$ exit
$ type tst2.com
$ open/read/write f 0"myusername mypassword"::"task=add2.com"
$ write f "123"
$ write f "456"
$ read f res
$ read f pid
$ close f
$ write sys$output "''res says ''pid'"
$ exit
$ @tst2
579 says 00000425
$ @tst2
579 says 00000425
$ @tst2
579 says 00000425
Arne