Peter Johnson
1de1900dbb
Change uv::Async to accept data parameters
...
This is a breaking change as it makes Async a template (e.g. Async<> must
be used instead of just Async). When data parameters are provided, an
internal mutex and vector is used to hold the parameter packs until the loop
runs.
2018-08-20 22:21:53 -07:00
Peter Johnson
8aac46542d
Add a SimpleBufferPool for uv::Buffer ( #1215 )
...
Buffers are reused on a regular basis in many use cases.
2018-07-25 00:58:54 -07:00
Peter Johnson
5bf5821138
Cleanup docs in uv::Stream and uv::Tcp ( #1207 )
2018-07-22 13:01:14 -07:00
Peter Johnson
eed28a5852
Add sockaddr_in overloads for uv::Tcp and uv::Udp ( #1206 )
...
These help avoid the need for reinterpret_casts in common use cases.
2018-07-22 13:01:00 -07:00
Peter Johnson
435e026c08
uv::Loop: Add user-defined data ( #1205 )
2018-07-22 13:00:47 -07:00
Peter Johnson
739267d36d
Add Reuse function to uv::Tcp ( #1208 )
...
This allows reusing the Tcp object in cases when the connection errors out.
2018-07-22 12:31:50 -07:00
Peter Johnson
e2314f3528
wpiutil: Add C++ libuv wrappers ( #1166 )
...
- Provide an EventLoopRunner to run uv::Loop on a separate thread.
- Add raw_ostream wrapper for uv::Buffer.
2018-07-17 01:06:24 -07:00