1 #ifndef IxOsalOsTypes_H
2 #define IxOsalOsTypes_H
22 /* Default stack limit is 10 KB */
23 #define IX_OSAL_OS_THREAD_DEFAULT_STACK_SIZE (10240)
25 /* Maximum stack limit is 32 MB */
26 #define IX_OSAL_OS_THREAD_MAX_STACK_SIZE (33554432) /* 32 MBytes */
28 /* Default thread priority */
29 #define IX_OSAL_OS_DEFAULT_THREAD_PRIORITY (90)
31 /* Thread maximum priority (0 - 255). 0 - highest priority */
32 #define IX_OSAL_OS_MAX_THREAD_PRIORITY (255)
36 #define IX_OSAL_OS_WAIT_FOREVER (-1L)
37 #define IX_OSAL_OS_WAIT_NONE 0
40 /* Thread handle is eventually an int type */
41 typedef int IxOsalOsThread;
43 /* Semaphore handle FIXME */
44 typedef int IxOsalOsSemaphore;
47 typedef int IxOsalOsMutex;
50 * Fast mutex handle - fast mutex operations are implemented in
51 * native assembler code using atomic test-and-set instructions
53 typedef int IxOsalOsFastMutex;
57 } IxOsalOsMessageQueue;
60 #endif /* IxOsalOsTypes_H */