History log of /libuv/ (Results 3676 – 3700 of 5435)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a787a16a22-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 ...

120e2c1322-Aug-2012 Ben Noordhuis

darwin: fix return value of uv_sem_init()

It should return 0 or -1, not the kernel status code.

8969df6022-Aug-2012 Fedor Indutny

darwin: handle KERN_ABORTED in uv_sem_wait()

29eb460d22-Aug-2012 Ben Noordhuis

linux: fix fscanf() -Wunused-result warning

03bdfd0821-Aug-2012 Bert Belder

windows: lock tty output before updating the virtual window size

564e7c7621-Aug-2012 Bert Belder

windows: emit SIGWINCH when the console size changes

b12b649821-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 ...

37173f8520-Aug-2012 Bert Belder

Merge branch 'v0.8'


a7b83e0b20-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 ...

d90102e620-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 ...

6545e9bd20-Aug-2012 Ben Noordhuis

linux: tag no_accept4 __read_mostly

5f8185ab20-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.

3c526cb720-Aug-2012 Ben Noordhuis

linux: fix uv__epoll_create() prototype

5da380a516-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 ...

8073a26320-Aug-2012 Bert Belder

windows: uv_signal_stop should be infallible

b0b5a08f20-Aug-2012 Bert Belder

windows: report UV_INVAL when an invalid signum is supplied

328f29b020-Aug-2012 Bert Belder

windows: fix stupid uv_signal bugs

28ff142220-Aug-2012 Ben Noordhuis

Merge branch 'v0.8'

Conflicts:
src/fs-poll.c


012cbda720-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 ...

b5ad44d120-Aug-2012 Ben Noordhuis

test: add uv_fs_poll_t to benchmark-sizes.c

83e0087307-Aug-2012 Ben Noordhuis

unix: fix const correctness compiler warning

This is a back-port of commit f97c80f from the master branch.

201b8f9318-Aug-2012 Bert Belder

Merge branch 'v0.8'


ce87b7e117-Aug-2012 Tim Holy

unix: fix integer overflow in uv_hrtime

Conversion to nanoseconds was overflowing with 32-bit builds.

9f0e00c717-Aug-2012 Bert Belder

unix: fix the build

uv_signal_t.signum was moved to uv.h in an earlier commit.

c4dbb60c15-Aug-2012 Bert Belder

windows: basic signal handling support with uv_signal_t

This still needs tests.

1...<<141142143144145146147148149150>>...218