Ignore:
Timestamp:
May 10, 2006 7:24:40 PM (18 years ago)
Author:
bennylp
Message:

Merge-in RTEMS port patch by Phil Torre <ptorre@…>, alpha release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/os_darwinos.h

    r338 r433  
    9595 */ 
    9696typedef int socklen_t; 
     97 
     98/* Set 1 if native sockaddr_in has sin_len member.  
     99 * Default: 0 
     100 */ 
    97101#define PJ_SOCKADDR_HAS_LEN             1 
    98102 
     
    106110#define PJ_IOQUEUE_MAX_HANDLES          1024 
    107111 
     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 
    108138 
    109139#endif  /* __PJ_COMPAT_OS_DARWINOS_H__ */ 
Note: See TracChangeset for help on using the changeset viewer.