Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

uv: upgrade to 8f617b9

  • Loading branch information...
bnoordhuis committed Sep 24, 2011
1 parent 43cb4ec commit fcba1459f2400b59927411578c99a022d41bbbe7
Showing with 22 additions and 16 deletions.
  1. +17 −14 deps/uv/README.md
  2. +5 −2 deps/uv/src/unix/fs.c
@@ -8,34 +8,37 @@ http://nodejs.org/

## Features

Implemented Features:
Implemented:

* Non-blocking sockets and pipes
* Non-blocking TCP sockets

* Timers
* Non-blocking named pipes

* UDP

* Timers

* Child process spawning

* Asynchronous DNS via c-ares or getaddrinfo.
* Asynchronous DNS via c-ares or `uv_getaddrinfo`.

* Asynchronous file system APIs (uv_fs_*)
* Asynchronous file system APIs `uv_fs_*`

* High resolution time (uv_hrtime)
* High resolution time `uv_hrtime`

* Current executable path look up (uv_exepath)
* Current executable path look up `uv_exepath`

* Thread pool scheduling (uv_queue_work)
* Thread pool scheduling `uv_queue_work`

Work in progress:
In-progress:

* File system events (Currently supports inotify, ReadDirectoryChangesW and
will support kqueue and event ports in the near future.)
* File system events (Currently supports inotify, `ReadDirectoryChangesW`
and will support kqueue and event ports in the near future.)
`uv_fs_event_t`

* TTY support (with VT100 emulation on Windows - work in progress)
* VT100 TTY `uv_tty_t`

* Socket sharing between processes
* Socket sharing between processes `uv_ipc_t`


## Documentation
@@ -58,7 +61,7 @@ To build with Visual Studio run the vcbuilds.bat file which will
checkout the GYP code into build/gyp and generate the uv.sln and
related files.

Windows users can also build from cmd-line using msbuild. This is
Windows users can also build from cmd-line using msbuild. This is
done by running vcbuild.bat from Visual Studio command prompt.

To have GYP generate build script for another system you will need to
@@ -447,8 +447,11 @@ int uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) {

int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) {
char* path = NULL;
#ifdef __FreeBSD__
/* freebsd doesn't have fdatasync, do a full fsync instead. */
#if defined(__FreeBSD__) \
|| (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
/* freebsd and pre-10.6 darwin don't have fdatasync,
* do a full fsync instead.
*/
WRAP_EIO(UV_FS_FDATASYNC, eio_fdatasync, fsync, ARGS1(file))
#else
WRAP_EIO(UV_FS_FDATASYNC, eio_fdatasync, fdatasync, ARGS1(file))

0 comments on commit fcba145

Please sign in to comment.
You can’t perform that action at this time.