[FFmpeg-devel] [RFC] Event loop

Lynne dev at lynne.ee
Fri Feb 19 18:32:51 EET 2021


Feb 19, 2021, 16:21 by george at nsup.org:

> Lynne (12021-02-19):
>
>> That's okay, I'd let it read and call events as they happen on the fds.
>>
>
> Pray tell me, how do you do that with a /dev/snd/pcmC0D0p in mmap mode?
>

You poll it in a busy loop in a thread in an event. Or you find a solution
to use libuv's polling instead via a "hacker solution".
Or you simply don't use its mmap API, because polling-only sound systems
only made sense in the 90's.

This is as far as I'm willing to take this discussion. You're stubbornly unwilling to
see any reason and you openly cite your biases as a reason to hate libuv,
Windows or threads.
Next time if you have absolutely no interest in any other solution apart from it
being a opportunity to express your opinions, don't ask.

You can proceed on your own, but you don't have my support. If the patch ends up
locking us up with libev or its unmaintained Windows forks I'll voice my disapproval
and we'll end up with exactly the type of situation this RFC was meant to resolve.


More information about the ffmpeg-devel mailing list