Changeset 433 for pjproject/trunk/pjlib/include/pj/compat/os_linux.h
- Timestamp:
- May 10, 2006 7:24:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/compat/os_linux.h
r356 r433 55 55 56 56 #define PJ_SOCK_HAS_INET_ATON 1 57 58 /* Set 1 if native sockaddr_in has sin_len member. 59 * Default: 0 60 */ 57 61 #define PJ_SOCKADDR_HAS_LEN 0 62 63 /** 64 * If this macro is set, it tells select I/O Queue that select() needs to 65 * be given correct value of nfds (i.e. largest fd + 1). This requires 66 * select ioqueue to re-scan the descriptors on each registration and 67 * unregistration. 68 * If this macro is not set, then ioqueue will always give FD_SETSIZE for 69 * nfds argument when calling select(). 70 * 71 * Default: 0 72 */ 73 #define PJ_SELECT_NEEDS_NFDS 0 58 74 59 75 /* Is errno a good way to retrieve OS errors? … … 90 106 #define PJ_ATOMIC_VALUE_TYPE long 91 107 108 /* If 1, use Read/Write mutex emulation for platforms that don't support it */ 109 #define PJ_EMULATE_RWMUTEX 0 110 111 /* If 1, pj_thread_create() should enforce the stack size when creating 112 * threads. 113 * Default: 0 (let OS decide the thread's stack size). 114 */ 115 #define PJ_THREAD_SET_STACK_SIZE 0 116 117 /* If 1, pj_thread_create() should allocate stack from the pool supplied. 118 * Default: 0 (let OS allocate memory for thread's stack). 119 */ 120 #define PJ_THREAD_ALLOCATE_STACK 0 121 122 123 92 124 #endif /* __PJ_COMPAT_OS_LINUX_H__ */ 93 125
Note: See TracChangeset
for help on using the changeset viewer.