e89cb907 | 23-Aug-2012 |
Ben Noordhuis |
unix: fix aliasing warnings in stream.c |
b81e67a1 | 23-Aug-2012 |
Ben Noordhuis |
unix: fix aliasing warning in udp.c |
0ac2fdc5 | 22-Aug-2012 |
Ben Noordhuis |
unix: map errno ESPIPE |
a787a16a | 22-Aug-2012 |
Bert Belder |
unix: fix uv_async_send not working with Sun Studio uv_async_send would always return 1 when non-gcc compilers were used. When uv_async_send returns 1 no attempt is made to make port_get
unix: fix uv_async_send not working with Sun Studio uv_async_send would always return 1 when non-gcc compilers were used. When uv_async_send returns 1 no attempt is made to make port_getn return, so in this situation uv_async_send didn't wake up the event loop.
show more ...
|
120e2c13 | 22-Aug-2012 |
Ben Noordhuis |
darwin: fix return value of uv_sem_init() It should return 0 or -1, not the kernel status code. |
8969df60 | 22-Aug-2012 |
Fedor Indutny |
darwin: handle KERN_ABORTED in uv_sem_wait() |
29eb460d | 22-Aug-2012 |
Ben Noordhuis |
linux: fix fscanf() -Wunused-result warning |
03bdfd08 | 21-Aug-2012 |
Bert Belder |
windows: lock tty output before updating the virtual window size |
564e7c76 | 21-Aug-2012 |
Bert Belder |
windows: emit SIGWINCH when the console size changes |
b12b6498 | 21-Aug-2012 |
Ben Noordhuis |
darwin, freebsd: use ioctl(FIOCLEX) and ioctl(FIONBIO) Set the non-blocking and close-on-exec flags with ioctl() instead of fcntl(), it's about 10-25% faster. Stick with fcntl()
darwin, freebsd: use ioctl(FIOCLEX) and ioctl(FIONBIO) Set the non-blocking and close-on-exec flags with ioctl() instead of fcntl(), it's about 10-25% faster. Stick with fcntl() on Solaris. ioctl(FIONBIO) works but is twice as slow as fcntl(O_NONBLOCK). ioctl(FIOCLEX) doesn't raise an error but doesn't actually work either.
show more ...
|
37173f85 | 20-Aug-2012 |
Bert Belder |
Merge branch 'v0.8'
|
a7b83e0b | 20-Aug-2012 |
Bert Belder |
windows: fix uninitialized memory access in uv_update_time() uv_update_time does not overwrite the high 32 bits of uv_loop_t.time. It merely increments it by one when the low 32 bits hav
windows: fix uninitialized memory access in uv_update_time() uv_update_time does not overwrite the high 32 bits of uv_loop_t.time. It merely increments it by one when the low 32 bits have wrapped. That means that `time` needs to be initialized to zero before uv_update_time() is called for the first time.
show more ...
|
d90102e6 | 20-Aug-2012 |
Ben Noordhuis |
linux: don't retry syscall after ENOSYS Don't try the pipe2() or socketpair(O_CLOEXEC) syscalls when a previous call to uv__make_pipe() or uv__make_socketpair() call established that the
linux: don't retry syscall after ENOSYS Don't try the pipe2() or socketpair(O_CLOEXEC) syscalls when a previous call to uv__make_pipe() or uv__make_socketpair() call established that the kernel doesn't support it. Speeds up pipe and socketpair creation on older kernels.
show more ...
|
6545e9bd | 20-Aug-2012 |
Ben Noordhuis |
linux: tag no_accept4 __read_mostly |
5f8185ab | 20-Aug-2012 |
Ben Noordhuis |
unix: add __read_mostly macro Variables tagged with __read_mostly are put into a separate ELF section to improve the cache locality of data that is read often but seldom written to. |
3c526cb7 | 20-Aug-2012 |
Ben Noordhuis |
linux: fix uv__epoll_create() prototype |
5da380a5 | 16-Aug-2012 |
Fedor Indutny |
unix: use select() for specific fds on OS X kqueue(2) on osx doesn't work (emits EINVAL error) with specific fds (i.e. /dev/tty, /dev/null, etc). When given such descriptors - start
unix: use select() for specific fds on OS X kqueue(2) on osx doesn't work (emits EINVAL error) with specific fds (i.e. /dev/tty, /dev/null, etc). When given such descriptors - start select(2) watcher thread that will emit io events.
show more ...
|
8073a263 | 20-Aug-2012 |
Bert Belder |
windows: uv_signal_stop should be infallible |
b0b5a08f | 20-Aug-2012 |
Bert Belder |
windows: report UV_INVAL when an invalid signum is supplied |
328f29b0 | 20-Aug-2012 |
Bert Belder |
windows: fix stupid uv_signal bugs |
28ff1422 | 20-Aug-2012 |
Ben Noordhuis |
Merge branch 'v0.8' Conflicts: src/fs-poll.c
|
012cbda7 | 20-Aug-2012 |
Ben Noordhuis |
unix, windows: fix memory corruption in fs-poll.c uv_fs_poll_t has an embedded uv_timer_t handle that got closed at a time when the memory of the encapsulating handle might already have
unix, windows: fix memory corruption in fs-poll.c uv_fs_poll_t has an embedded uv_timer_t handle that got closed at a time when the memory of the encapsulating handle might already have been deallocated. Solve that by moving the poller's state into a structure that is allocated on the heap and can be freed independently.
show more ...
|
b5ad44d1 | 20-Aug-2012 |
Ben Noordhuis |
test: add uv_fs_poll_t to benchmark-sizes.c |
83e00873 | 07-Aug-2012 |
Ben Noordhuis |
unix: fix const correctness compiler warning This is a back-port of commit f97c80f from the master branch. |
201b8f93 | 18-Aug-2012 |
Bert Belder |
Merge branch 'v0.8'
|