JustOS/linux-6.13/include/linux/sched/vhost_task.h

15 lines
444 B
C
Raw Normal View History

2025-01-24 14:00:19 +00:00
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_SCHED_VHOST_TASK_H
#define _LINUX_SCHED_VHOST_TASK_H
struct vhost_task;
struct vhost_task *vhost_task_create(bool (*fn)(void *),
void (*handle_kill)(void *), void *arg,
const char *name);
void vhost_task_start(struct vhost_task *vtsk);
void vhost_task_stop(struct vhost_task *vtsk);
void vhost_task_wake(struct vhost_task *vtsk);
#endif /* _LINUX_SCHED_VHOST_TASK_H */