Changeset 3189


Ignore:
Timestamp:
Jun 1, 2010 3:32:10 PM (9 years ago)
Author:
bennylp
Message:

Fix #1091: Increase the default maximum number of outstanding asynchronous operations of Symbian socket server to 32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_core_symbian.cpp

    r2853 r3189  
    3636#define DUMMY_SEMAPHORE     ((pj_sem_t*)102) 
    3737#define THIS_FILE           "os_core_symbian.c" 
    38   
     38 
     39/* Default message slot number for RSocketServ::Connect(). 
     40 * Increase it to 32 from the default 8 (KESockDefaultMessageSlots) 
     41 */ 
     42#ifndef PJ_SYMBIAN_SOCK_MSG_SLOTS 
     43#  define PJ_SYMBIAN_SOCK_MSG_SLOTS  32 
     44#endif 
     45 
    3946/* 
    4047 * Note: 
     
    195202     */ 
    196203    if (!isSocketServInitialized_ && appSocketServ_ == NULL) { 
    197         err = socketServ_.Connect(); 
     204        err = socketServ_.Connect(PJ_SYMBIAN_SOCK_MSG_SLOTS); 
    198205        if (err != KErrNone) 
    199206            goto on_error; 
Note: See TracChangeset for help on using the changeset viewer.