Changeset 4991 for pjproject/trunk


Ignore:
Timestamp:
Mar 6, 2015 6:04:21 AM (10 years ago)
Author:
ming
Message:

Re #1782 (misc): Suppress Helgrind's warning about possible data race when doing ioq select.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ioqueue_select.c

    r4537 r4991  
    831831{ 
    832832    pj_fd_set_t rfdset, wfdset, xfdset; 
     833    int nfds; 
    833834    int count, i, counter; 
    834835    pj_ioqueue_key_t *h; 
     
    877878#endif 
    878879 
     880    nfds = ioqueue->nfds; 
     881 
    879882    /* Unlock ioqueue before select(). */ 
    880883    pj_lock_release(ioqueue->lock); 
    881884 
    882     count = pj_sock_select(ioqueue->nfds+1, &rfdset, &wfdset, &xfdset,  
     885    count = pj_sock_select(nfds+1, &rfdset, &wfdset, &xfdset,  
    883886                           timeout); 
    884887     
Note: See TracChangeset for help on using the changeset viewer.