File: cygwin.pm

package info (click to toggle)
libio-async-perl 0.804-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,184 kB
  • sloc: perl: 13,884; makefile: 8
file content (38 lines) | stat: -rw-r--r-- 870 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#  You may distribute under the terms of either the GNU General Public License
#  or the Artistic License (the same terms as Perl itself)
#
#  (C) Paul Evans, 2013-2024 -- leonerd@leonerd.org.uk

package IO::Async::OS::cygwin 0.804;

use v5.14;
use warnings;

our @ISA = qw( IO::Async::OS::_Base );

# Cygwin almost needs no hinting above the POSIX-like base, except that its
# emulation of poll() isn't quite perfect. It needs POLLPRI
use constant HAVE_POLL_CONNECT_POLLPRI => 1;

# Also select() only reports connect() failures by evec, not wvec
use constant HAVE_SELECT_CONNECT_EVEC => 1;

=head1 NAME

C<IO::Async::OS::cygwin> - operating system abstractions on C<cygwin> for C<IO::Async>

=head1 DESCRIPTION

This module contains OS support code for C<cygwin>.

See instead L<IO::Async::OS>.

=cut

=head1 AUTHOR

Paul Evans <leonerd@leonerd.org.uk>

=cut

0x55AA;