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