[Vm-dev] [DEV] Systemd socket activation patch for the VM

Max Leske maxleske at gmail.com
Thu Jul 10 07:53:04 UTC 2014


> Date: Wed, 9 Jul 2014 16:54:27 -0700
> From: Eliot Miranda <eliot.miranda at gmail.com>
> Subject: Re: [Vm-dev] [DEV] Systemd socket activation patch for the VM
> To: Squeak Virtual Machine Development Discussion
> 	<vm-dev at lists.squeakfoundation.org>
> Message-ID:
> 	<CAC20JE3+27r-ndiWZOw7EGjd0kPkENHiQ4yW=aQXyt4ht9PC2Q at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi Max,
> 
>    I've integrated, but there's a conflict with the Cog sources because
> there's already support for RAW sockets in the Qwaq/Terf VM.  That means
> socket type 2 is already taken.  So I've integrated like this:
> 
> #define TCPSocketType       0
> #define UDPSocketType       1
> #ifdef HAVE_SD_DAEMON
> # define ProvidedTCPSocketType  2
> # define RAWSocketType      3
> #else
> # define RAWSocketType      2
> #endif
> 
> But I would prefer to integrate this:
> 
> #define TCPSocketType       0
> #define UDPSocketType       1
> # define RAWSocketType      2
> #define ProvidedTCPSocketType  3
> 
> Is it too late for you to change the Smalltalk code so that
> ProvidedTCPSocketType is 3?

Not a problem. We’ll update the Smalltalk code to use 3 instead of 2.

Thanks Eliot.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140710/4179c6ff/attachment-0001.htm


More information about the Vm-dev mailing list