Hi, i am back into this issue,
i narrow it down to this code, want to replace WaitForMultipleObjects()
with libuv event loop.
Is this possible?
HANDLE * hevent = &device->m_vstream_event; //read irp event from
deviceiocontrol().
while(true)
{
UINT32 ret = WaitForMultipleObjects(0x01, hevent, FALSE, 50); // i want
replace this line with libuv!
switch(ret)
{
//...
}
}
Thank you.
On Wednesday, August 17, 2016 at 8:02:40 PM UTC+9, Iñaki Baz Castillo wrote:
>
> 2016-08-17 12:59 GMT+02:00 Saúl Ibarra Corretgé <[email protected]
> <javascript:>>:
> > I don't think that is the case here, though I could be wrong. I think
> what
> > he wants is to wait for an event to happen using IOCP in the loop, but
> we
> > don't provide a way to tap into that.
>
> He can handle separately the IOCP event loop, listen for the H264
> hardware event, and call libuv async(), right?
>
>
> --
> Iñaki Baz Castillo
> <[email protected] <javascript:>>
>
--
You received this message because you are subscribed to the Google Groups
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.