VM: simplify slab allocator
[minix.git] / lib / libblockdriver / const.h
blob5f475e3e9f12806dc24a23d0a22bc5b1e4c751b4
1 #ifndef _BLOCKDRIVER_CONST_H
2 #define _BLOCKDRIVER_CONST_H
4 /* Thread stack size. */
5 #define STACK_SIZE 8192
7 /* Maximum number of devices supported. */
8 #define MAX_DEVICES 32
10 /* The maximum number of worker threads per device. */
11 #define MAX_WORKERS 32
13 #define MAX_THREADS (MAX_DEVICES * MAX_WORKERS) /* max nr of threads */
14 #define MAIN_THREAD (MAX_THREADS) /* main thread ID */
15 #define SINGLE_THREAD (0) /* single-thread ID */
17 #endif /* _BLOCKDRIVER_CONST_H */