AFAIK, LIBURING_UDATA_TIMEOUT should only be used within internal library i.e. liburing, it is set to user_data by calls like io_uring_wait_cqes, and the correspond cqe handled by __io_uring_peek_cqe, so it should used by users in any situations.
According to liburing/src/queue.c:
Applications using this function must never set sqe->user_data to LIBURING_UDATA_TIMEOUT!
AFAIK,
LIBURING_UDATA_TIMEOUT
should only be used within internal library i.e. liburing, it is set to user_data by calls likeio_uring_wait_cqes
, and the correspondcqe
handled by__io_uring_peek_cqe
, so it should used by users in any situations.According to
liburing/src/queue.c
: