Commit Graph

4148 Commits

Author SHA1 Message Date
Bert Belder
78c2930e25 Test for uv_timer_again ,~get_repeat, ~set_repeat 2011-05-19 01:58:07 +02:00
Bert Belder
fd8ee879e2 Windows: make uv_is_active work for timers 2011-05-19 01:55:58 +02:00
Ryan Dahl
3d0332ed6e unix: uv_timer_get, uv_set_repeat
Fixes #43
2011-05-18 13:24:38 -07:00
Bert Belder
9679e333c6 uv_timer api extension 2011-05-18 21:56:12 +02:00
Ryan Dahl
bfb4e5e486 Override default backend for OSX 2011-05-17 14:56:24 -07:00
Ryan Dahl
02b43d4ce8 add uv_err_tostr 2011-05-16 22:28:42 -07:00
Bert Belder
e13a02263c uv_timer_again for windows 2011-05-17 03:55:02 +02:00
Ryan Dahl
452681fbe9 fix port conflict 2011-05-16 17:55:11 -07:00
Bert Belder
c41b7143c7 Fix after merge 2011-05-17 02:29:22 +02:00
Bert Belder
c28fe6e170 Implement uv_timer for windows 2011-05-17 02:29:21 +02:00
Bert Belder
a730165312 UV_TIMER is a handle type now, not a req type 2011-05-17 02:29:21 +02:00
Bert Belder
1676e4abcc Please, declare vars at the top 2011-05-17 02:29:20 +02:00
Ryan Dahl
2aabd44d77 unix: fix ref count for timer - unbreaks loop_handles test 2011-05-16 17:28:43 -07:00
Ryan Dahl
816289ae8f unix: implement timers
currently loop_handles is broken.
2011-05-16 17:08:43 -07:00
Ryan Dahl
b969809d20 unix: stub out timer methods 2011-05-16 16:26:58 -07:00
Bert Belder
810651e04c Update tests & benchmarks to use the new timer api 2011-05-17 01:17:48 +02:00
Bert Belder
abd2d1cae4 New timer api 2011-05-16 23:49:17 +02:00
Bert Belder
899ebf2371 uv_is_active for *nix 2011-05-16 21:46:07 +02:00
Bert Belder
2aefc18d3a uv_is_active api and windows implementation 2011-05-16 21:40:48 +02:00
Bert Belder
84a0e899b5 Cleanups after oio -> uv rename 2011-05-16 21:40:47 +02:00
Ryan Dahl
2b8812ffe1 uv_buf -> uv_buf_t 2011-05-13 07:15:02 -07:00
Ryan Dahl
c6edabdba8 Changes to compile in Node 2011-05-13 00:47:10 -07:00
Ryan Dahl
d85168b299 Makefile munging
Add EV_MULTIPLICITY=0 (until we add threads)
2011-05-12 18:35:05 -07:00
Ryan Dahl
d2653df01b Last but if oio renaming 2011-05-12 17:53:21 -07:00
Ryan Dahl
2ef3c6c632 oio -> uv 2011-05-11 20:21:49 -07:00
Bert Belder
b4e9d3c337 Only XP sp2 and up are supported 2011-05-10 16:21:12 -07:00
Ryan Dahl
1925a091d8 Only report read throughput from pump bench
Generally they are the same anyway...
2011-05-10 00:44:50 -07:00
Ryan Dahl
bf86b2e273 Run ping-pong bench for 5 secs 2011-05-10 00:42:18 -07:00
Ryan Dahl
2f4e65a1b2 Port to Solaris 2011-05-10 06:53:50 +00:00
Ryan Dahl
f0de01379f Use argv[0] if we can't get_executable_path() 2011-05-09 23:12:44 -07:00
Ryan Dahl
9f652d4729 Benchmarks print their own name 2011-05-09 21:39:02 -07:00
Ryan Dahl
1b85c9f211 Parsable output from pump bench 2011-05-09 21:29:33 -07:00
Ryan Dahl
34f12fa5a5 Remove unnecessary printf 2011-05-09 19:40:31 -07:00
Ryan Dahl
55e4262ac8 fix unix build 2011-05-09 19:37:45 -07:00
Bert Belder
3530433dd1 Memory leak in pump benchmark 2011-05-10 02:43:10 +02:00
Bert Belder
391f0098de Loopback pump benchmark 2011-05-10 01:39:54 +02:00
Bert Belder
a379649899 Add handle->write_queue_size support for windows 2011-05-09 23:55:11 +02:00
Ryan Dahl
4eb2c6b3f2 Remove unnecessary function 2011-05-09 09:18:15 -07:00
Bert Belder
ad64eb4856 Windows: reorganize returned req processing 2011-05-09 16:59:21 +02:00
Bert Belder
8b09c88f1f Windows: clarify and rename oio_atomic_exchange_set 2011-05-09 16:59:21 +02:00
Bert Belder
820c942e3a Make MS happy, declare variables first 2011-05-09 16:59:20 +02:00
Bert Belder
317cea275e oio_win.h style 2011-05-09 16:59:20 +02:00
Ryan Dahl
8f9ff78413 oio_err -> oio_err_t 2011-05-09 02:30:11 -07:00
Ryan Dahl
f71ea7f65d Fix compiler warning 2011-05-09 02:27:26 -07:00
Ryan Dahl
cc72a0d1ed unix: implement OIO_ASYNC
Had to hack up the test to be inline with how libev does things.
2011-05-09 02:25:03 -07:00
Ryan Dahl
67118c0b58 unix: initial implementation of prepare, check, idle
Had to comment out a few of the asserts in the test.
2011-05-09 01:02:06 -07:00
Ryan Dahl
5281e4d090 unix: Properly initialize delay_error in handle 2011-05-08 23:19:03 -07:00
Ryan Dahl
9e9bae5eb6 unix: Stub out async and thread functions 2011-05-08 22:47:51 -07:00
Bert Belder
6eadee1d11 MinGW support for atomic-exchange-and-set-byte 2011-05-09 05:52:05 +02:00
Bert Belder
b1a8675ced Add test-async 2011-05-09 05:52:05 +02:00