4b115f89 | 18-Dec-2012 |
Vlad Tudose |
build: build libuv.a and libuv.so in different dirs Fixes #659. |
6fb31493 | 19-Dec-2012 |
Ben Noordhuis |
build: export _POSIX_C_SOURCE=200112 to dependents Fix direct_dependent_settings to export _POSIX_C_SOURCE=200112 to dependent projects. Required to make pthread_rwlock_t and pthread_bar
build: export _POSIX_C_SOURCE=200112 to dependents Fix direct_dependent_settings to export _POSIX_C_SOURCE=200112 to dependent projects. Required to make pthread_rwlock_t and pthread_barrier_t visible.
show more ...
|
0820be70 | 18-Dec-2012 |
Saúl Ibarra Corretgé |
Implemented uv_run2 Allows for running the event loop in 3 modes: * default: loop runs until the refcount drops to zero * once: poll for events only once and block until one is h
Implemented uv_run2 Allows for running the event loop in 3 modes: * default: loop runs until the refcount drops to zero * once: poll for events only once and block until one is handled * nowait: poll for events only once but don't block if there are no pending events
show more ...
|
dc559a5c | 18-Dec-2012 |
Ben Noordhuis |
unix: disable relaxed accept() by default Don't use the relaxed accept() algorithm introduced in be2a217 unless explicitly requested. It causes a 50+% performance drop on some node.js
unix: disable relaxed accept() by default Don't use the relaxed accept() algorithm introduced in be2a217 unless explicitly requested. It causes a 50+% performance drop on some node.js benchmarks: $ alias bench='out/Release/node benchmark/http_simple_auto.js \ -c 10 -n 50000 bytes/1 2>&1 | grep Req' $ UV_TCP_SINGLE_ACCEPT=0 bench Requests per second: 12331.84 [#/sec] (mean) $ UV_TCP_SINGLE_ACCEPT=1 bench Requests per second: 3944.63 [#/sec] (mean)
show more ...
|
b86ed949 | 17-Dec-2012 |
Fedor Indutny |
kqueue: ignore ENOENT error File descriptor might be closed during callback, all events that was reported before the callback are not valid and trying to remove them will result in E
kqueue: ignore ENOENT error File descriptor might be closed during callback, all events that was reported before the callback are not valid and trying to remove them will result in ENOENT. This error can be safely ignored.
show more ...
|
273cecc5 | 15-Dec-2012 |
Ben Noordhuis |
unix: don't memset(0) in uv_udp_init() It's inconsistent with other init functions. In particular, it clobbers the data field. Fixes #655. |
c6c5b7a9 | 14-Dec-2012 |
Ben Noordhuis |
Merge branch 'v0.8'
|
49977386 | 13-Dec-2012 |
Andrew Shaffer |
sunos: properly disarm PORT_LOADED fsevent watcher Fixes a segmentation fault when the watched entity is changed after the watcher has been closed. |
a3b57dd5 | 14-Dec-2012 |
Ben Noordhuis |
test, bench: remove unused includes |
f5b63749 | 14-Dec-2012 |
Ben Noordhuis |
test, bench: replace strlen() with sizeof() |
0a05b31a | 14-Dec-2012 |
Ben Noordhuis |
test: fix -Wunused-result warnings |
e079a99a | 13-Dec-2012 |
Ben Noordhuis |
unix: fix event loop stall Fix a rather obscure bug where the event loop stalls when an I/O watcher is stopped while an artificial event, generated with uv__io_feed(), is pending. |
92fb84b7 | 12-Dec-2012 |
Ben Noordhuis |
unix: rework uv_cancel() api Bert Belder informs me the current approach where a request is immediately cancelled, is impossible to implement on Windows. Rework the API to alway
unix: rework uv_cancel() api Bert Belder informs me the current approach where a request is immediately cancelled, is impossible to implement on Windows. Rework the API to always invoke the "done" callback with an UV_ECANCELED error code.
show more ...
|
Revision tags: node-v0.8.15, node-v0.9.3, node-v0.8.12, node-v0.8.10, node-v0.9.2, node-v0.8.9, node-v0.9.1, node-v0.8.8 |
|
731adaca | 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 ...
|
52c8a861 | 26-Nov-2012 |
Ben Noordhuis |
unix: add uv_cancel() |
a385ae4f | 09-Dec-2012 |
Ben Noordhuis |
unix: only set SO_REUSEADDR on tcp listen sockets Avoid the extra syscall, it's a no-op for non-listening sockets. At least, it should be - it remains to be investigated if a FreeBS
unix: only set SO_REUSEADDR on tcp listen sockets Avoid the extra syscall, it's a no-op for non-listening sockets. At least, it should be - it remains to be investigated if a FreeBSD kernel bug affects ephemeral port allocation inside connect(). See [1] for details. [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=174087
show more ...
|
b4168cd6 | 08-Dec-2012 |
Ben Noordhuis |
build: rename LINKFLAGS to LDFLAGS |
7306c5ff | 08-Dec-2012 |
Ben Noordhuis |
build: fix `make libuv.so CFLAGS=<options>` Running a make target that builds the shared object while overriding the CFLAGS variable from the command line, would fail with a relocation e
build: fix `make libuv.so CFLAGS=<options>` Running a make target that builds the shared object while overriding the CFLAGS variable from the command line, would fail with a relocation error: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC Fix that by adding -fPIC unconditionally.
show more ...
|
527a10f9 | 04-Dec-2012 |
Bert Belder |
windows: improve / fix uv_interface_addresses * If GetAdaptersAddresses() failed, it would return UV_OK nonetheless, but the `adresses` and `count` out parameters would not be set.
windows: improve / fix uv_interface_addresses * If GetAdaptersAddresses() failed, it would return UV_OK nonetheless, but the `adresses` and `count` out parameters would not be set. * When adapters were enabled or added in between the two GetAdaptersAddresses() calls, it would fail. * In case of an out of memory situation, libuv would crash with a fatal error. * All interface information is now stored in a single heap-allocated area.
show more ...
|
c7fca7ad | 03-Dec-2012 |
Bert Belder |
windows: add some error code mappings |
2e4488f3 | 04-Dec-2012 |
Bert Belder |
windows: improve / fix uv_interface_addresses * If GetAdaptersAddresses() failed, it would return UV_OK nonetheless, but the `adresses` and `count` out parameters would not be set.
windows: improve / fix uv_interface_addresses * If GetAdaptersAddresses() failed, it would return UV_OK nonetheless, but the `adresses` and `count` out parameters would not be set. * When adapters were enabled or added in between the two GetAdaptersAddresses() calls, it would fail. * In case of an out of memory situation, libuv would crash with a fatal error. * All interface information is now stored in a single heap-allocated area.
show more ...
|
0f0fee54 | 03-Dec-2012 |
Bert Belder |
windows: add some error code mappings |
44f0fcd0 | 29-Nov-2012 |
Ben Noordhuis |
Merge branch 'v0.8' Conflicts: src/unix/core.c
|
deb1c347 | 29-Nov-2012 |
Ben Noordhuis |
sunos: fix uv_getaddrinfo() NULL pointer dereference |
99a8d4a8 | 29-Nov-2012 |
Ben Noordhuis |
unix: remove unnecessary static var init wq doesn't have to be initialized, init_once() takes care of that. Remove the initialization so it goes into .bss instead of .data. |