Changeset 433 for pjproject/trunk/pjlib/include/pj/compat/os_darwinos.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_darwinos.h
r338 r433 95 95 */ 96 96 typedef int socklen_t; 97 98 /* Set 1 if native sockaddr_in has sin_len member. 99 * Default: 0 100 */ 97 101 #define PJ_SOCKADDR_HAS_LEN 1 98 102 … … 106 110 #define PJ_IOQUEUE_MAX_HANDLES 1024 107 111 112 /** 113 * If this macro is set, it tells select I/O Queue that select() needs to 114 * be given correct value of nfds (i.e. largest fd + 1). This requires 115 * select ioqueue to re-scan the descriptors on each registration and 116 * unregistration. 117 * If this macro is not set, then ioqueue will always give FD_SETSIZE for 118 * nfds argument when calling select(). 119 * 120 * Default: 0 121 */ 122 #define PJ_SELECT_NEEDS_NFDS 0 123 124 /* If 1, use Read/Write mutex emulation for platforms that don't support it */ 125 #define PJ_EMULATE_RWMUTEX 0 126 127 /* If 1, pj_thread_create() should enforce the stack size when creating 128 * threads. 129 * Default: 0 (let OS decide the thread's stack size). 130 */ 131 #define PJ_THREAD_SET_STACK_SIZE 0 132 133 /* If 1, pj_thread_create() should allocate stack from the pool supplied. 134 * Default: 0 (let OS allocate memory for thread's stack). 135 */ 136 #define PJ_THREAD_ALLOCATE_STACK 0 137 108 138 109 139 #endif /* __PJ_COMPAT_OS_DARWINOS_H__ */
Note: See TracChangeset
for help on using the changeset viewer.