libuv/src/unix
Brad King 6398251aff cygwin: implement support for cygwin and msys2
Cygwin and MSYS2 are POSIX layers implemented on top of Windows.
Use our POSIX `poll(2)` implementation of our poll abstraction.
For most other components we already have dedicated sources
implementing them in terms of APIs available on Cygwin or
providing non-implementations of components not supported.

This leaves only three components that need Cygwin-specific
implementations:

* uv_uptime: implement using sysinfo
* uv_resident_set_memory: add a placeholder returning UV_ENOSYS
* uv_cpu_info: add a placeholder returning UV_ENOSYS

Update our test suite to account for features not available
due to Cygwin platform limitations or our placeholders.

PR-URL: https://github.com/libuv/libuv/pull/1312
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
2017-05-21 16:12:21 +02:00
..
aix.c unix: make loops and watchers usable after fork() 2017-03-21 12:23:44 +01:00
android-ifaddrs.c src: remove non ascii character 2015-12-13 11:52:49 +01:00
async.c build: add -Wstrict-prototypes 2017-05-02 23:00:33 +02:00
atomic-ops.h zos: make platform functional 2017-01-18 08:42:59 -06:00
bsd-ifaddrs.c cygwin: implement support for cygwin and msys2 2017-05-21 16:12:21 +02:00
core.c cygwin: implement support for cygwin and msys2 2017-05-21 16:12:21 +02:00
cygwin.c cygwin: implement support for cygwin and msys2 2017-05-21 16:12:21 +02:00
darwin-proctitle.c unix: fix long line introduced in commit 94e628fa 2015-01-21 13:04:50 +01:00
darwin.c unix: factor out reusable BSD ifaddrs impl 2017-03-14 08:33:43 +01:00
dl.c misc: remove unnecessary null pointer checks 2015-11-17 09:18:55 +01:00
freebsd.c unix: factor out reusable BSD ifaddrs impl 2017-03-14 08:33:43 +01:00
fs.c fs: cleanup uv__fs_scandir 2017-01-17 21:10:43 -06:00
fsevents.c unix: remove FSEventStreamFlushSync() call 2017-05-16 13:03:55 -04:00
getaddrinfo.c core: add ability to customize memory allocator 2015-06-02 12:05:20 +02:00
getnameinfo.c unix, win: add synchronous uv_get{addr,name}info 2015-01-23 01:12:05 +01:00
internal.h unix,windows: refactor request init logic 2017-03-21 16:14:09 +01:00
kqueue.c unix: make loops and watchers usable after fork() 2017-03-21 12:23:44 +01:00
linux-core.c unix: factor out reusable procfs exepath impl 2017-05-21 16:12:18 +02:00
linux-inotify.c unix: make loops and watchers usable after fork() 2017-03-21 12:23:44 +01:00
linux-syscalls.c linux,fs: fix p{read,write}v with a 64bit offset 2015-12-03 08:50:28 +01:00
linux-syscalls.h unix: use POLL{IN,OUT,etc} constants directly 2016-04-11 10:51:13 +02:00
loop-watcher.c unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
loop.c unix: make loops and watchers usable after fork() 2017-03-21 12:23:44 +01:00
netbsd.c unix: factor out reusable BSD ifaddrs impl 2017-03-14 08:33:43 +01:00
no-fsevents.c unix: factor out reusable no-fsevents impl 2017-05-21 16:12:11 +02:00
no-proctitle.c unix: factor out reusable no-proctitle impl 2017-05-21 16:11:33 +02:00
openbsd.c build,openbsd: remove kvm-related code 2017-05-17 17:50:58 +02:00
os390-syscalls.c zos: use proper prototype for epoll_init() 2017-04-25 17:15:26 +02:00
os390-syscalls.h zos: make platform functional 2017-01-18 08:42:59 -06:00
os390.c unix: factor out reusable no-fsevents impl 2017-05-21 16:12:11 +02:00
pipe.c unix,test: deadstore fixes 2017-04-05 09:57:20 -04:00
poll.c unix: use uv__is_closing everywhere 2016-11-03 11:11:16 +01:00
posix-hrtime.c unix: factor out reusable POSIX hrtime impl 2017-03-03 15:52:42 +01:00
posix-poll.c unix: add a uv__io_poll impl using POSIX poll(2) 2017-05-21 16:12:19 +02:00
process.c unix: use async-signal safe functions between fork and exec 2017-01-17 21:29:15 -06:00
procfs-exepath.c unix: factor out reusable procfs exepath impl 2017-05-21 16:12:18 +02:00
proctitle.c zos: use built-in proctitle implementation 2017-01-27 18:08:28 +01:00
pthread-barrier.c unix: move function call out of assert 2017-01-17 21:08:36 -06:00
pthread-fixes.c unix: fix bug in barrier fallback implementation 2016-04-26 09:35:47 +02:00
signal.c unix: make loops and watchers usable after fork() 2017-03-21 12:23:44 +01:00
spinlock.h unix: add spinlock.h 2013-10-20 13:58:34 +02:00
stream.c zos: do not inline OOB data by default 2017-05-19 12:14:08 +02:00
sunos.c unix: factor out reusable no-proctitle impl 2017-05-21 16:11:33 +02:00
sysinfo-loadavg.c unix: factor out reusable sysinfo loadavg impl 2017-05-21 16:12:16 +02:00
sysinfo-memory.c unix: factor out reusable sysinfo memory lookup 2017-05-21 16:12:14 +02:00
tcp.c zos: track unbound handles and bind before listen 2016-08-24 10:02:41 +01:00
thread.c unix: don't malloc in uv_thread_create() 2016-10-16 19:28:17 +02:00
timer.c unix: unneccessary use const qualifier in container_of 2016-08-25 22:45:33 +01:00
tty.c build: GNU/kFreeBSD support 2016-08-20 08:55:30 +02:00
udp.c unix: do not close udp sockets on bind error 2017-05-09 15:51:26 -04:00