mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
wip: io-uring
This commit is contained in:
parent
9b0d5e7c96
commit
ae8394b0c1
5 changed files with 250 additions and 9 deletions
12
terminal.h
12
terminal.h
|
|
@ -11,6 +11,10 @@
|
|||
#include <utf8proc.h>
|
||||
#endif
|
||||
|
||||
#if defined(FOOT_IO_URING)
|
||||
#include <liburing.h>
|
||||
#endif
|
||||
|
||||
#include <tllist.h>
|
||||
#include <fcft/fcft.h>
|
||||
|
||||
|
|
@ -428,6 +432,14 @@ struct terminal {
|
|||
pid_t slave;
|
||||
int ptmx;
|
||||
|
||||
#if defined(FOOT_IO_URING)
|
||||
struct {
|
||||
struct io_uring ring;
|
||||
struct io_uring_buf_ring *buf_ring;
|
||||
uint8_t **buffers;
|
||||
} uring;
|
||||
#endif
|
||||
|
||||
struct vt vt;
|
||||
struct grid *grid;
|
||||
struct grid normal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue