History log of /libuv/ (Results 3226 – 3250 of 5437)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ebdeaed202-May-2013 Ben Noordhuis

Merge remote-tracking branch 'origin/v0.10'

Conflicts:
ChangeLog
src/version.c


b3ab332b01-May-2013 Ben Noordhuis

unix: fix EMFILE error handling

On Linux, the accept() and accept4() system calls checks for EMFILE
before checking for EAGAIN. Refine our EMFILE error handling tactic
to deal with t

unix: fix EMFILE error handling

On Linux, the accept() and accept4() system calls checks for EMFILE
before checking for EAGAIN. Refine our EMFILE error handling tactic
to deal with that. Here is what used to happen:

1. The event loop calls accept() and sees EMFILE.

2. Libuv switches to EMFILE error handling mode. It closes a stashed
file descriptor and calls accept() again.

3. The accept() system call fails with EAGAIN.

4. Libuv reopens the stashed file descriptor (reaching RLIMIT_NOFILE
again) and returns control to the regular event loop.

5. The regular event loop calls accept(), sees EMFILE and jumps to
step 2 again. Effectively an infinite loop.

Avoid that by not calling accept() again when we've seen EAGAIN.

Fixes joyent/node#5389.

show more ...

67f9b91a30-Apr-2013 Fedor Indutny

stream: use harder sync restrictions for osx-hack

Synchronize harder to avoid excessive spins, invokations of async
callback and sporadic assertion failures on double-call of async
c

stream: use harder sync restrictions for osx-hack

Synchronize harder to avoid excessive spins, invokations of async
callback and sporadic assertion failures on double-call of async
callback.

show more ...

4e5b8dc229-Apr-2013 Ben Noordhuis

build: link with libkvm on openbsd

The Makefile already did and now the gyp build does too. Fixes the
OpenBSD build of node.js.

Fixes joyent/node#5363.

ac4e7e7f26-Apr-2013 Fedor Indutny

stream: fix small nit in select hack, add test

2400716d24-Apr-2013 Fedor Indutny

stream: fix osx select hack

After latest twiddling, `stream->io_watcher.fd` doesn't contain a real
stream's file descriptior anymore. The one from `select_state` should be
used inste

stream: fix osx select hack

After latest twiddling, `stream->io_watcher.fd` doesn't contain a real
stream's file descriptior anymore. The one from `select_state` should be
used instead.

Zero-initialize `select_state->event` field.

show more ...

c777079824-Apr-2013 Ben Noordhuis

include: fix typo in comment in uv.h

Fixes #790.

a0cb926e23-Apr-2013 isaacs

Now working on v0.10.6

f6fb1dfe02-May-2013 Bert Belder

ChangeLog: fix incorrect release date

6595a77323-Apr-2013 isaacs

2013.04.24, Version 0.10.5 (Stable)

Changes since version 0.10.4:

* unix: silence STATIC_ASSERT compiler warnings (Ben Noordhuis)

* windows: make timers handle large timeou

2013.04.24, Version 0.10.5 (Stable)

Changes since version 0.10.4:

* unix: silence STATIC_ASSERT compiler warnings (Ben Noordhuis)

* windows: make timers handle large timeouts (Miroslav Bajtoš)

* windows: remove superfluous assert statement (Bert Belder)

* unix: silence STATIC_ASSERT compiler warnings (Ben Noordhuis)

* linux: don't use fopen() in uv_resident_set_memory() (Ben Noordhuis)

show more ...

cd10637d22-Apr-2013 Ben Noordhuis

linux: don't use fopen() in uv_resident_set_memory()

RSS is a reflection of the number of pages that a process has mapped.
glibc implements fopen() in terms of mmap() which means that tr

linux: don't use fopen() in uv_resident_set_memory()

RSS is a reflection of the number of pages that a process has mapped.
glibc implements fopen() in terms of mmap() which means that trying
to read the number of mapped pages changes it. Switch to open().

show more ...

105e4dcb22-Apr-2013 Ben Noordhuis

unix: silence STATIC_ASSERT compiler warnings

Fix the following two warnings:

src/unix/core.c:74:1: warning: ISO C90 forbids array
'static_assert_failed' whose size can't be

unix: silence STATIC_ASSERT compiler warnings

Fix the following two warnings:

src/unix/core.c:74:1: warning: ISO C90 forbids array
'static_assert_failed' whose size can't be evaluated [-Wvla]
src/unix/core.c:76:1: warning: ISO C90 forbids array
'static_assert_failed' whose size can't be evaluated [-Wvla]

show more ...

ffe2ef0618-Apr-2013 Bert Belder

windows: deal with the fact that GetTickCount might lag

We use GetQueuedCompletionStatus(Ex) to sleep the thread until the next
timer expires (provided that no other events happen before

windows: deal with the fact that GetTickCount might lag

We use GetQueuedCompletionStatus(Ex) to sleep the thread until the next
timer expires (provided that no other events happen before that).
However after waking up from a sleep the GetTickCount() return value may
not immediately reflect that some time has passed. This happens because
gqcs can sometimes sleep for periods shorter than the GetTickCount clock
resulution. This patch changes time tracking so the amount of time
waited by gqcs is taken into account.

This has the following advantages:

* Excessive loop iterations are avoided.
* Small timeouts are fired more precisely.
* The `loop-stop` test that used to be flaky on Windows now passes
consistently.

show more ...

7f8130a218-Apr-2013 Ben Noordhuis

unix: remove src/unix/cygwin.c

The cygwin build has been broken for a long time now and no one is
complaining, which strongly suggests that no one actually uses it.
Remove it.

79f9629818-Apr-2013 Bert Belder

Merge branch 'v0.10'


a396388318-Apr-2013 Bert Belder

windows: remove superfluous assert statement

2d89b4b117-Apr-2013 Timothy J Fontaine

build: avoid double / in paths for dtrace

GYP doesn't resolve or normalize the paths, resulting in the action not
firing if the path contains // so take care to avoid that

a92b66fe16-Apr-2013 Saúl Ibarra Corretgé

unix, windows: add uv_has_ref() function

09ff510016-Apr-2013 Miroslav Bajtoš

windows: make timers handle large timeouts

Fixes a bug where timers with very large timeouts run on the next tick.
Based on a similar bug fix for unix (9b61939).

Fixes joyent/no

windows: make timers handle large timeouts

Fixes a bug where timers with very large timeouts run on the next tick.
Based on a similar bug fix for unix (9b61939).

Fixes joyent/node#5101.

show more ...

ef85bdaf12-Apr-2013 Ben Noordhuis

unix: silence STATIC_ASSERT compiler warnings

Newer versions of gcc complain about the definition of the zero element
array. Squelch that warning by turning it into a one element array.

aa23eea512-Apr-2013 Bert Belder

Merge branch 'v0.10'


5ed1d02c11-Apr-2013 isaacs

Now working on v0.10.5

85827e2611-Apr-2013 isaacs

2013.04.12, Version 0.10.4 (Stable)

Changes since version 0.10.3:

* include: update uv_backend_fd() documentation (Ben Noordhuis)

* unix: include uv.h in src/version.c (Ben

2013.04.12, Version 0.10.4 (Stable)

Changes since version 0.10.3:

* include: update uv_backend_fd() documentation (Ben Noordhuis)

* unix: include uv.h in src/version.c (Ben Noordhuis)

* unix: don't write more than IOV_MAX iovecs (Fedor Indutny)

* mingw-w64: don't call _set_invalid_parameter_handler (Nils Maier)

* build: gyp disable thin archives (Timothy J. Fontaine)

* sunos: re-export entire library when static (Timothy J. Fontaine)

* unix: dtrace probes for tick-start and tick-stop (Timothy J. Fontaine)

* windows: fix memory leak in fs__sendfile (Shannen Saez)

* windows: remove double initialization in uv_tty_init (Shannen Saez)

* build: fix dtrace-enabled out of tree build (Ben Noordhuis)

* build: squelch -Wdollar-in-identifier-extension warnings (Ben
Noordhuis)

* inet: snprintf returns int, not size_t (Brian White)

* win: refactor uv_cpu_info (Bert Belder)

* build: add support for Visual Studio 2012 (Nicholas Vavilov)

* build: -Wno-dollar-in-identifier-extension is clang only (Ben
Noordhuis)

show more ...

0ff06b4a10-Apr-2013 Ben Noordhuis

build: -Wno-dollar-in-identifier-extension is clang only

Add a compiler check because turning on the option unconditionally
breaks the build when CC=gcc.

This should also fix th

build: -Wno-dollar-in-identifier-extension is clang only

Add a compiler check because turning on the option unconditionally
breaks the build when CC=gcc.

This should also fix the build on versions of OS X that predate Apple's
switch to clang (10.6 and older.)

show more ...

145f7b3510-Apr-2013 Ben Noordhuis

darwin: look up file path with F_GETPATH

Look up the file path with fcntl(F_GETPATH) and pass it to
the uv_fs_event_cb callback.

1...<<121122123124125126127128129130>>...218