Samuel Thibault wrote:
Ronan Keryell, le Mon 28 Jan 2008 13:24:27 +0100, a écrit :
But is it possible to use higher-level queue constructions rather than
inlining the queue behaviour in the code?

There is QEMUFIFO code in console.c which could be shared for instance,
yes.


QEMUFIFO cannot be used directly for the mouse click queue.
What can be done is writing a generic queue library independent from the type of the elements. Then we could use the library wherever needed. If you think that it is a good idea I'll post a patch that implements this kind of library.



Reply via email to