David Taylor <david-tay...@blueyonder.co.uk.invalid> wrote:
> On 27/08/2013 20:05, Rob wrote:
>> Martin Burnicki <martin.burni...@meinberg.de> wrote:
>>> What I meant is the usage of CreateFileMapping() and MapViewOfFile() for
>>> shared memory segments, as it is done in ntpd's refclock_shm.c.
>>>
>>> We are using this in the Windows driver package for our PCI cards, but
>>> this usage is not related to NTP. AFAIK this is supported in all Windows
>>> version at least starting with NT.
>>>
>>> Ntpd has already implemented this (which I also didn't know until
>>> recently), and it should not be too hard for something like gpsd to
>>> implement this also, if this han't already been done, yet.
>>
>> Looking in the most recent ntpshm.c I see only the calls to shmget
>> and shmat.  But I think you are right, it should be quite simple to
>> add a compilation conditional and replace it with mapping calls similar
>> to what is found in the Windows port of ntpd.
>>
>> However, it could also be that libraries that come with cygwin already
>> do that translation.
>
> Rob,
>
> There should be no requirement to install Cygwin for NTP users on 
> Windows, if that's what you are suggesting.

No, I mean when compiling ntpd for Windows.  I think that requires Cygwin.

_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to