This repository has been archived by the owner on Nov 21, 2018. It is now read-only.
forked from alexcrichton/libuv
-
Notifications
You must be signed in to change notification settings - Fork 2
Update libuv #3
Closed
retep998
wants to merge
22
commits into
rust-lang-deprecated:rust-2014-06-21-do-not-delete
from
retep998:master
Closed
Update libuv #3
retep998
wants to merge
22
commits into
rust-lang-deprecated:rust-2014-06-21-do-not-delete
from
retep998:master
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes since version 0.10.26: * windows: fix console signal handler refcount (Saúl Ibarra Corretgé) * win: always leave crit section in get_proc_title (Fedor Indutny)
The just created stdin should not be closed by a child process before writing to it, otherwise EPIPE happens.
fixes joyent#1278 (backport from master for v0.10 branch)
We add a function called uv_loop_size which returns the size of the loop. It is an additional function which complements `uv_handle_size` and` uv_req_size` in order to provide full FFI support. Signed-off-by: Fedor Indutny <[email protected]>
OSX only exposes them if _POSIX_C_SOURCE is not defined, for instance.
Signed-off-by: Fedor Indutny <[email protected]>
According to @aktau, the call to `mach_timebase_info` costs 90% of the total execution time of `uv_hrtime()`. The result of the call is static on all existing platforms, so there is no need in invoking it multiple times. Signed-off-by: Fedor Indutny <[email protected]>
Conflicts: ChangeLog build.mk src/unix/darwin.c src/unix/getaddrinfo.c src/version.c test/test-list.h
Changes since version 0.11.25: * windows: add VT100 codes ?25l and ?25h (JD Ballard) * windows: add invert ANSI (7 / 27) emulation (JD Ballard) * unix: fix handling error on UDP socket creation (Saúl Ibarra Corretgé) * unix, windows: getnameinfo implementation (Rasmus Pedersen) * heap: fix `heap_remove()` (Fedor Indutny) * unix, windows: fix parsing scoped IPv6 addresses (Saúl Ibarra Corretgé) * windows: fix handling closed socket while poll handle is closing (Saúl Ibarra Corretgé) * thread: barrier functions (Ben Noordhuis) * windows: fix PYTHON environment variable usage (Jay Satiro) * unix, windows: return system error on EAI_SYSTEM (Saúl Ibarra Corretgé) * windows: fix handling closed socket while poll handle is closing (Saúl Ibarra Corretgé) * unix: don't run i/o callbacks after prepare callbacks (Saúl Ibarra Corretgé) * windows: add tty unicode support for input (Peter Atashian) * header: introduce `uv_loop_size()` (Andrius Bentkus) * darwin: invoke `mach_timebase_info` only once (Fedor Indutny)
This fixes the build with MinGW32.
Debug build failed on mingw32 because CRT assertion disable code was stubbed out. Replace __declspec(thread) with UV_THREAD_LOCAL which is defined as __thread on GCC.
Thanks! pushed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Verified to build and run when using mingw64 on windows. Includes rebased commits added by rust-lang/libuv on top of joyent/libuv so hard reset to this.