Subject: Re: [boost] cygwin API: posix or windows
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-01-08 08:16:38


> On Thu, 06 Jan 2011 22:32:16 +0100, vicente.botet
> <vicente.botet_at_[hidden]> wrote:
>
>> Hi,
>>
>> while trying to make Boost.System and Boost.Chrono configurable header
>> only libs we need to include windows.h on some include files. To avoid
>> the inclusion of this intrusive file, we decided sometime ago to
>> include some files in detail/win that will present just the needed
>> interfaces.
>>
>> In my humble opinion cygwin is a wrapper of posix intefaces under
>> windows OS. So, boost libraries shouldn't use Windows interfaces when
>> working under cygwin.
>>
>> What's the experience of others?

My experiencie is that cygwin, since version 1.7, offers a good POSIX
emulation and it should be treated like a UNIX OS. Inteprocess treats
cygwin as a UNIX system and it offers both POSIX and XSI (system V)
interprocess mechanisms.

Best,

Ion