mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-30 22:00:48 +00:00
3fdf659d95
Clean uint*_t type from the code. Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
15 lines
328 B
C
15 lines
328 B
C
#ifndef KVM__THREADPOOL_H
|
|
#define KVM__THREADPOOL_H
|
|
|
|
struct kvm;
|
|
|
|
typedef void (*kvm_thread_callback_fn_t)(struct kvm *kvm, void *data);
|
|
|
|
int thread_pool__init(unsigned long thread_count);
|
|
|
|
void *thread_pool__add_job(struct kvm *kvm, kvm_thread_callback_fn_t callback, void *data);
|
|
|
|
void thread_pool__do_job(void *job);
|
|
|
|
#endif
|