Aaron Piotrowski
8ab3918974
Remove \UV::RUN_ONCE if not blocking.
2016-12-28 16:16:09 -06:00
Aaron Piotrowski
225c0703ee
Merge branch 'event-loop-v0.4' into uv
2016-12-28 13:02:20 -06:00
Aaron Piotrowski
583a50fab7
Update for loop standard changes
2016-12-28 12:59:04 -06:00
Bob Weinand
ef9216a00a
Do not block in Loop::dispatch() after Loop::stop()
2016-12-18 21:56:47 +01:00
Aaron Piotrowski
973a08c26b
Update for loop standard v0.3
2016-09-09 17:38:22 -05:00
Bob Weinand
4e52e68f3a
Fix travis run the second
2016-08-15 15:32:54 +02:00
Bob Weinand
c503bbf46d
Fix composer.json
2016-08-14 22:41:36 +02:00
Bob Weinand
eedc0fb3b8
Add travis config
2016-08-14 22:35:22 +02:00
Bob Weinand
e7d629e58f
Fix signals not being dispatched in NativeLoop
...
This was the case when at least one expired and non-expired timer existed.
2016-08-14 22:29:30 +02:00
Aaron Piotrowski
ea66677a50
Update for Driver changes in spec
2016-08-06 08:58:37 -05:00
Aaron Piotrowski
19e6440897
Fix native loop timers
2016-07-25 10:09:40 -05:00
Bob Weinand
3603d5b1ec
EvLoop::enabled() -> supported()
2016-06-26 17:35:25 +02:00
Aaron Piotrowski
2a1fde0b44
Add automatic loop factory bootstrap
2016-06-23 23:37:06 -05:00
Aaron Piotrowski
986b69907f
No need to call keepalive within EvLoop
...
Loop class handles the details necessary to stop the loop if no reference watchers exist.
2016-06-09 12:59:18 -05:00
Aaron Piotrowski
33338324d4
Add UvLoop
2016-06-09 12:57:46 -05:00
Aaron Piotrowski
666cc42a5f
Better ref/unref in EvLoop; fix EvLoopTest
2016-06-08 16:03:37 -05:00
Aaron Piotrowski
543d1c5e66
Fix repeat timer interval
2016-06-08 12:08:00 -05:00
Aaron Piotrowski
a49d333f1b
Add EvLoop; Split shared components into Loop
2016-06-08 09:22:14 -05:00
Aaron Piotrowski
757778c848
Fix check if signal was disabled
...
Plus some minor tweaks
2016-06-08 00:15:36 -05:00
Aaron Piotrowski
8e31310921
Fix repeat timer memory leak
2016-06-07 12:40:35 -05:00
Aaron Piotrowski
93424c1c6e
Enable events in next tick
2016-06-07 12:24:53 -05:00
Aaron Piotrowski
f940934a0b
Update for latest standard changes
...
Plus some minor tweaks and more docs.
2016-06-07 00:18:59 -05:00
Bob Weinand
c9af067b46
Fix delays/intervals being able equal to zero
2016-06-04 00:10:47 +02:00
Aaron Piotrowski
666bb332e1
Fix some bugs, refactor disable/unreference
2016-06-03 10:00:29 -05:00
Aaron Piotrowski
acbe2c8237
Add Registry; support streams with multiple watchers
2016-06-02 09:45:04 -05:00
Aaron Piotrowski
4aa8c5d550
Add loop tests
2016-05-27 15:07:05 -05:00
Aaron Piotrowski
ca827319ec
Standard updates and more
...
Update for changes in async-interop/event-loop.
Do not invalidate delay and defer on disable.
Better watcher ID generation.
Throw if enabling invalid watcher.
2016-05-27 10:16:36 -05:00
Aaron Piotrowski
ae225835f2
Drop exception namespace
2016-05-25 23:24:06 -05:00
Aaron Piotrowski
a68bde6449
Eliminate watcher constructors
2016-05-25 23:21:49 -05:00
Aaron Piotrowski
5cd2c33d5c
Fix defer queue invocation
2016-05-24 09:36:16 -05:00
Aaron Piotrowski
27a4569b8b
Improve defer queue invocation
2016-05-23 00:37:56 -05:00
Aaron Piotrowski
e1a2e99ca8
Avoid namespace lookup on built-in functions
2016-05-22 23:08:31 -05:00
Aaron Piotrowski
55e0971be1
Update for changes in async-interop
...
Remove use of Registry; switch Yoda conditionals
2016-05-22 22:59:09 -05:00
Bob Weinand
a84626a298
Correct repo name
2016-05-19 18:16:43 +02:00
Aaron Piotrowski
deb45e2cc2
Initial commit
2016-05-19 11:13:07 -05:00