Ignore:
Timestamp:
Dec 10, 2015 1:58:38 AM (8 years ago)
Author:
riza
Message:

Re #1900: Initial implementation with pjsua cli/telnet sample app.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp/pjlib/src/pj/ioqueue_select.c

    r5196 r5210  
    895895    pj_lock_release(ioqueue->lock); 
    896896 
     897#if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 
     898    count = 0; 
     899    __try { 
     900#endif 
     901 
    897902    count = pj_sock_select(nfds+1, &rfdset, &wfdset, &xfdset,  
    898903                           timeout); 
     904 
     905#if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 
     906    /* Ignore Invalid Handle Exception raised by select().*/ 
     907    } 
     908    __except (GetExceptionCode() == STATUS_INVALID_HANDLE ? 
     909              EXCEPTION_CONTINUE_EXECUTION : EXCEPTION_CONTINUE_SEARCH) { 
     910    } 
     911#endif     
    899912     
    900913    if (count == 0) 
Note: See TracChangeset for help on using the changeset viewer.