History log of /libuv/include/uv.h (Results 251 – 275 of 497)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 499c7976 12-Mar-2013 Timothy J Fontaine

unix, windows: nanosecond resolution for uv_fs_[fl]stat

Closes #739.

# ab935a25 17-Mar-2013 Ben Noordhuis

include: use x macros for uv_any_{handle,req} unions

Generate the members of the uv_any_handle and uv_any_req unions with
the UV_HANDLE_TYPE_MAP and UV_REQ_TYPE_MAP macros. Eases mainten

include: use x macros for uv_any_{handle,req} unions

Generate the members of the uv_any_handle and uv_any_req unions with
the UV_HANDLE_TYPE_MAP and UV_REQ_TYPE_MAP macros. Eases maintenance
when new handle or request types are added.

show more ...

# 9f714a1d 14-Mar-2013 Ben Noordhuis

include: bump UV_VERSION_MINOR

Fixes #740.

# 905d56c1 12-Mar-2013 Ben Noordhuis

unix: fix uv_tcp_simultaneous_accepts() logic

Inverts the meaning of the 'enable' argument. Before, it actually set
the UV_TCP_SINGLE_ACCEPT flag when enable=1. Now it clears it, which i

unix: fix uv_tcp_simultaneous_accepts() logic

Inverts the meaning of the 'enable' argument. Before, it actually set
the UV_TCP_SINGLE_ACCEPT flag when enable=1. Now it clears it, which is
what uv-win does and what you would expect it to do.

show more ...

Revision tags: node-v0.9.7
# bb3d1e24 16-Jan-2013 Saúl Ibarra Corretgé

unix, windows: add uv_stop, stop running event loop

# 30f62883 20-Feb-2013 Ben Noordhuis

unix, windows: make uv_timer_get_repeat() const correct

# 0cb9fbfe 20-Feb-2013 Ben Noordhuis

unix, windows: change timer intervals to uint64_t

# d6bfedb8 20-Feb-2013 Ben Noordhuis

unix, windows: make uv_now() return uint64_t

Using int64_t doesn't make sense here because the return value is never
negative.

# 7480974e 15-Feb-2013 Andrius Bentkus

Adhere to the naming conventions in uv_timer_* functions.

In the src/*/timer.c code the first argument is called handle, not timer.
We should be consistent in the interface definition fi

Adhere to the naming conventions in uv_timer_* functions.

In the src/*/timer.c code the first argument is called handle, not timer.
We should be consistent in the interface definition file.

show more ...

# da716499 10-Feb-2013 Ben Noordhuis

unix, windows: make uv_fs_t.statbuf public

Make the statbuf field public. This means you no longer have to use
req->ptr - though that still works and will continue to work for the
fo

unix, windows: make uv_fs_t.statbuf public

Make the statbuf field public. This means you no longer have to use
req->ptr - though that still works and will continue to work for the
foreseeable future.

Fixes #704.

show more ...

# da33bba7 06-Feb-2013 Ben Noordhuis

darwin: make uv_cond_timedwait() clock skew safe

Use pthread_cond_timedwait_relative_np() so we're not prone to spurious
bugs caused by clock skew.

# 4ba03ddd 16-Jan-2013 Ben Noordhuis

unix, windows: rename uv_run2 to uv_run

This changes the prototype of uv_run() from:

int uv_run(uv_loop_t* loop);

To:

int uv_run(uv_loop_t* loop, uv_run_mode m

unix, windows: rename uv_run2 to uv_run

This changes the prototype of uv_run() from:

int uv_run(uv_loop_t* loop);

To:

int uv_run(uv_loop_t* loop, uv_run_mode mode);

Where `mode` is UV_RUN_DEFAULT, UV_RUN_ONCE or UV_RUN_NOWAIT.

Fixes #683.

show more ...

Revision tags: node-v0.9.6
# 2cecd0d3 10-Jan-2013 Bruce Mitchener

include: fix typos in comments

# 546387fc 28-Dec-2012 Ben Noordhuis

include: add note about SIGRT0 and SIGRT1 on linux

# 3164f1ea 25-Dec-2012 Ben Noordhuis

include: update uv_signal_t doc comments

Fixes #668.

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

Revision tags: node-v0.9.4, node-v0.8.17
# 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 ...

# 52c8a861 26-Nov-2012 Ben Noordhuis

unix: add uv_cancel()

# 4a69c4bb 28-Nov-2012 Ben Noordhuis

unix: change uv_backend_timeout() prototype

* change return value to signed int
* constify loop argument

# 09a7f85b 26-Nov-2012 Fedor Indutny

unix: add uv_backend_fd() and uv_backend_timeout()

This can be used in conjuction with uv_run_once() to poll in one thread and run
the event loop's event callbacks in another.

U

unix: add uv_backend_fd() and uv_backend_timeout()

This can be used in conjuction with uv_run_once() to poll in one thread and run
the event loop's event callbacks in another.

Useful for embedding libuv's event loop in another event loop.

show more ...

# 5d92ccce 27-Nov-2012 Shane Holloway

windows: add flag for hiding windows created by a spawned process

Closes GH-627

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
# 1282d648 22-Aug-2012 Ben Noordhuis

unix: remove dependency on libev

# 05aac929 15-Nov-2012 Stephen Gallagher

include: export uv_inet_* functions

# d56434a2 06-Nov-2012 Ben Noordhuis

build: support building a .so

You can now select to build a shared object at configure time:

$ ./gyp_uv -Dcomponent=shared_library -Dlibrary=shared_library

And build it w

build: support building a .so

You can now select to build a shared object at configure time:

$ ./gyp_uv -Dcomponent=shared_library -Dlibrary=shared_library

And build it with:

$ make -C out BUILDTYPE=Debug # or BUILDTYPE=Release

Or, if you use ninja:

$ ninja -C out/Debug

show more ...

# 225c6f17 01-Nov-2012 Ben Noordhuis

unix, windows: fix several error messages

1...<<11121314151617181920