Example #1
0
 Signal(loop& l):
     handle<uv_signal_t>()
 {
     uv_signal_init(l.get(), get());
 }
Example #2
0
File: pipe.hpp Project: larroy/uvpp
 Pipe(loop& l, const bool fd_pass = false):
     stream()
 {
     uv_pipe_init(l.get(), get(), fd_pass ? 1 : 0);
 }
Example #3
0
 Resolver(loop& l) :
   request<uv_getaddrinfo_t>(),
   m_loop(l.get())
 {
 }