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ñaki Baz Castillo
<[email protected]>

-- 
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.

Reply via email to