| 1 | # You may distribute under the terms of either the GNU General Public License | ||
| 2 | # or the Artistic License (the same terms as Perl itself) | ||
| 3 | # | ||
| 4 | # (C) Paul Evans, 2013-2024 -- leonerd@leonerd.org.uk | ||
| 5 | |||
| 6 | package IO::Async::OS::cygwin 0.805; | ||
| 7 | |||
| 8 | use v5.14; | ||
| 9 | use warnings; | ||
| 10 | |||
| 11 | our @ISA = qw( IO::Async::OS::_Base ); | ||
| 12 | |||
| 13 | # Cygwin almost needs no hinting above the POSIX-like base, except that its | ||
| 14 | # emulation of poll() isn't quite perfect. It needs POLLPRI | ||
| 15 | use constant HAVE_POLL_CONNECT_POLLPRI => 1; | ||
| 16 | |||
| 17 | # Also select() only reports connect() failures by evec, not wvec | ||
| 18 | use constant HAVE_SELECT_CONNECT_EVEC => 1; | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | C<IO::Async::OS::cygwin> - operating system abstractions on C<cygwin> for C<IO::Async> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This module contains OS support code for C<cygwin>. | ||
| 27 | |||
| 28 | See instead L<IO::Async::OS>. | ||
| 29 | |||
| 30 | =cut | ||
| 31 | |||
| 32 | =head1 AUTHOR | ||
| 33 | |||
| 34 | Paul Evans <leonerd@leonerd.org.uk> | ||
| 35 | |||
| 36 | =cut | ||
| 37 | |||
| 38 | 0x55AA; |