1 #ifndef _MINIX_BLOCKDRIVER_MT_H
2 #define _MINIX_BLOCKDRIVER_MT_H
4 #define BLOCKDRIVER_MT_API 1 /* do not expose the singlethreaded API */
5 #include <minix/blockdriver.h>
7 void blockdriver_mt_task(struct blockdriver
*driver_tab
);
8 void blockdriver_mt_sleep(void);
9 void blockdriver_mt_wakeup(thread_id_t id
);
10 void blockdriver_mt_terminate(void);
11 void blockdriver_mt_set_workers(device_id_t id
, int workers
);
12 thread_id_t
blockdriver_mt_get_tid(void);
14 #endif /* _MINIX_BLOCKDRIVER_MT_H */