Ignore:
Timestamp:
Nov 6, 2005 4:50:38 PM (18 years ago)
Author:
bennylp
Message:

Tested new ioqueue framework on Linux with select and epoll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/main/pjlib/src/pj/os_core_unix.c

    r5 r14  
    716716    if (type == PJ_MUTEX_SIMPLE) { 
    717717#if defined(PJ_LINUX) && PJ_LINUX!=0 
     718        extern int pthread_mutexattr_settype(pthread_mutexattr_t*,int); 
    718719        rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_FAST_NP); 
    719720#else 
     
    722723    } else { 
    723724#if defined(PJ_LINUX) && PJ_LINUX!=0 
     725        extern int pthread_mutexattr_settype(pthread_mutexattr_t*,int); 
    724726        rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); 
    725727#else 
Note: See TracChangeset for help on using the changeset viewer.