make vfs & filesystems use failable copying
[minix3.git] / include / minix / blockdriver_mt.h
blob2b96c505d208371b740fc2da2b013968234d7eb3
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 #define BLOCKDRIVER_MAX_DEVICES 32
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);
16 #endif /* _MINIX_BLOCKDRIVER_MT_H */