Ignore:
Timestamp:
Feb 21, 2013 11:18:36 AM (11 years ago)
Author:
bennylp
Message:

Fixed #1616: Implementation of Group lock and other foundation in PJLIB for fixing synchronization issues

File:
1 edited

Legend:

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

    r3553 r4359  
    401401                                               pj_ioqueue_t *ioque, 
    402402                                               pj_sock_t sock, 
     403                                               void *user_data, 
     404                                               const pj_ioqueue_callback *cb, 
     405                                               pj_ioqueue_key_t **key ); 
     406 
     407/** 
     408 * Variant of pj_ioqueue_register_sock() with additional group lock parameter. 
     409 * If group lock is set for the key, the key will add the reference counter 
     410 * when the socket is registered and decrease it when it is destroyed. 
     411 */ 
     412PJ_DECL(pj_status_t) pj_ioqueue_register_sock2(pj_pool_t *pool, 
     413                                               pj_ioqueue_t *ioque, 
     414                                               pj_sock_t sock, 
     415                                               pj_grp_lock_t *grp_lock, 
    403416                                               void *user_data, 
    404417                                               const pj_ioqueue_callback *cb, 
Note: See TracChangeset for help on using the changeset viewer.