Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
forked fromjoyent/libuv

platform layer for node.js

License

NotificationsYou must be signed in to change notification settings

jedisct1/libuv

 
 

Repository files navigation

libuv is a new platform layer for Node. Its purpose is to abstract IOCP onWindows and libev on Unix systems. We intend to eventually contain allplatform differences in this library.

http://nodejs.org/

Features

  • Non-blocking TCP sockets

  • Non-blocking named pipes

  • UDP

  • Timers

  • Child process spawning

  • Asynchronous DNS via c-ares oruv_getaddrinfo.

  • Asynchronous file system APIsuv_fs_*

  • High resolution timeuv_hrtime

  • Current executable path look upuv_exepath

  • Thread pool schedulinguv_queue_work

  • ANSI escape code controlled TTYuv_tty_t

  • File system events Currently supports inotify,ReadDirectoryChangesWand kqueue. Event ports in the near future.uv_fs_event_t

  • IPC and socket sharing between processesuv_write2

Documentation

Seeinclude/uv.h.

Build Instructions

For GCC (including MinGW) there are two methods building: via normalmakefiles or via GYP. GYP is a meta-build system which can generate MSVS,Makefile, and XCode backends. It is best used for integration into otherprojects. The old (more stable) system is using Makefiles.

To build via Makefile simply execute:

make

To build with Visual Studio run the vcbuilds.bat file which willcheckout the GYP code into build/gyp and generate the uv.sln andrelated files.

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

To have GYP generate build script for another system you will need tocheckout GYP into the project tree manually:

svn co http://gyp.googlecode.com/svn/trunk build/gyp

Unix users run

./gyp_uv -f makemake

Macintosh users run

./gyp_uv -f xcodexcodebuild -project uv.xcodeproj -configuration Release -target All

Supported Platforms

Microsoft Windows operating systems since Windows XP SP2. It can be builtwith either Visual Studio or MinGW.

Linux 2.6 using the GCC toolchain.

MacOS using the GCC or XCode toolchain.

Solaris 121 and later using GCC toolchain.

About

platform layer for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C74.2%
  • Shell18.5%
  • Perl6.6%
  • Other0.7%

[8]ページ先頭

©2009-2025 Movatter.jp