Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Ben Noordhuis 22533c035d timers: fix setInterval() assert
Test case:

  var t = setInterval(function() {}, 1);
  process.nextTick(t.unref);

Output:

  Assertion failed: (args.Holder()->InternalFieldCount() > 0),
  function Unref, file ../src/handle_wrap.cc, line 78.

setInterval() returns a binding layer object. Make it stop doing that,
wrap the raw process.binding('timer_wrap').Timer object in a Timeout
object.

Fixes #4261.
2013-05-16 00:02:54 +02:00
benchmark benchmark: hash stream 2013-05-14 11:36:04 -07:00
deps uv: upgrade to v0.10.7 2013-05-14 16:52:47 -07:00
doc doc: improve exports/module.exports consistency 2013-05-15 21:06:32 +02:00
lib timers: fix setInterval() assert 2013-05-16 00:02:54 +02:00
src Now working on v0.10.7 2013-05-14 14:33:56 -07:00
test timers: fix setInterval() assert 2013-05-16 00:02:54 +02:00
tools tools: remove unnecessary cpplint rules 2013-05-14 11:36:05 -07:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore tools: Add wrk for benchmarking http servers 2013-02-19 17:16:18 -08:00
.mailmap Update .mailmap and AUTHORS 2013-03-19 20:07:38 +01:00
.travis.yml test: add `.travis.yml` for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS 2013.05.14, Version 0.10.6 (Stable) 2013-05-14 13:51:43 -07:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
CONTRIBUTING.md doc: clarify subsystems in CONTRIBUTING.md 2013-05-14 12:31:38 +02:00
ChangeLog 2013.05.14, Version 0.10.6 (Stable) 2013-05-14 13:51:43 -07:00
LICENSE doc: Add wrk's license to LICENSE file 2013-03-08 13:47:36 -08:00
Makefile build: only use DESTDIR instead of PREFIX for pkg 2013-05-06 10:10:05 -07:00
README.md doc: s/search.npmjs.org/npmjs.org/ 2013-05-09 15:15:39 -07:00
common.gypi Revert "build, windows: disable SEH" 2013-03-05 19:40:02 +01:00
configure build: allow building with dtrace on osx 2013-04-03 09:52:56 -07:00
node.gyp src: Add StringBytes static util class 2013-05-14 13:51:24 -07:00
vcbuild.bat build: vcbuild.bat fix for Visual Studio 2012 2013-05-03 11:32:32 +02:00

README.md

Evented I/O for V8 javascript. Build Status

To build:

Prerequisites (Unix only):

* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

Unix/Macintosh:

./configure
make
make install

If your python binary is in a non-standard location or has a non-standard name, run the following instead:

export PYTHON=/path/to/python
$PYTHON ./configure
make
make install

Windows:

vcbuild.bat

To run the tests:

Unix/Macintosh:

make test

Windows:

vcbuild.bat test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers