Ben Noordhuis
df62b54aa2
unix,windows: allow NULL loop for sync fs requests
...
Synchronous file operations don't need an event loop. Permit NULL as
the event loop parameter.
Fixes: https://github.com/libuv/libuv/issues/469
PR-URL: https://github.com/libuv/libuv/pull/479
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2015-08-18 15:39:21 +02:00
Ben Noordhuis
4ba03ddd56
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 .
2013-01-16 23:35:29 +01:00
Ben Noordhuis
894a8523cb
test: fix signed/unsigned comparison warnings
2012-11-02 14:32:14 +01:00
Bert Belder
47eb03490a
test: move loop cleanup code to the individual tests
2012-10-17 01:24:49 +02:00
Bert Belder
c85672eb13
test: avoid compiler complaints about implicit double-to-int cast
2012-08-13 22:31:45 +02:00
Ben Noordhuis
123ca8b87e
test: make fmt() function global
2012-06-29 02:29:21 +02:00
Bert Belder
d169ba1a1b
Make the stat benchmark run shorter
...
Man, Windows is so slow...
2012-06-22 01:16:52 +02:00
Ben Noordhuis
5dc024f676
bench: add thread pool I/O benchmark
2012-06-21 22:40:17 +02:00