On 17/08/16 11:48, Iñaki Baz Castillo wrote:
2016-08-17 11:29 GMT+02:00 Saúl Ibarra Corretgé <[email protected]>:
i want to irp notification event from device driver.
we have h.264 hardware encoder,
when stream ready to read, os send the event to user application via
deviceiocontronl().
how do i create event for this case?
I'm afraid libuv doesn't currently (not sure if ever) support your use case.
Assuming deviceiocontrolnl() is a function called by the OS in a
separate thread, you may set some data in some variable and call libuv
async() so libuv can read it within its loop.
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.
--
Saúl Ibarra Corretgé
http://bettercallsaghul.com
--
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.