[Info-vax] Apache + mod_php performance
Arne Vajhøj
arne at vajhoej.dk
Fri Oct 11 08:00:42 EDT 2024
On 10/11/2024 6:11 AM, Michael S wrote:
> On Thu, 10 Oct 2024 23:01:13 -0400
> Dave Froble <davef at tsoft-inc.com> wrote:
>> Actually, simple.
>>
>> 1) Create the socket in listener process
>> 2) Pass device name to worker process
>> 3) Assign a channel to the device in worker process
>> 4) deassign the channel in listener process (if desired)
>>
>
> There are few pieces in your simple explanation that I don't understand:
> - How does listener get a device name?
There may be multiple ways, but if using the SYS$QIO(W)
interface then the code has a channel and SYS$GETDVI(W)
can get the device name from that.
> - What is "channel"? Is it the same as 'socket'?
I assume a VMS channel as one get from SYS$ASSIGN.
> - How one "assigns" channel to device? I would guess that device has to
> be open before that?
Call SYS$ASSIGN.
> - Is device name of the socket system-global?
> If yes, does it mean that any process in the system that happens to
> know a name can open a device and assign it to channel?
Device names are system wide.
But there are access controls in place.
Arne
More information about the Info-vax
mailing list