Ignore:
Timestamp:
Nov 9, 2005 3:37:19 PM (18 years ago)
Author:
bennylp
Message:

Rework pjlib++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/main/pjlib/include/pj/os.h

    r5 r36  
    326326 
    327327/** 
     328 * Increment the value of an atomic type and get the result. 
     329 * 
     330 * @param atomic_var    the atomic variable. 
     331 * 
     332 * @return              The incremented value. 
     333 */ 
     334PJ_DECL(pj_atomic_value_t) pj_atomic_inc_and_get(pj_atomic_t *atomic_var); 
     335 
     336/** 
    328337 * Decrement the value of an atomic type. 
    329338 * 
     
    331340 */ 
    332341PJ_DECL(void) pj_atomic_dec(pj_atomic_t *atomic_var); 
     342 
     343/** 
     344 * Decrement the value of an atomic type and get the result. 
     345 * 
     346 * @param atomic_var    the atomic variable. 
     347 * 
     348 * @return              The decremented value. 
     349 */ 
     350PJ_DECL(pj_atomic_value_t) pj_atomic_dec_and_get(pj_atomic_t *atomic_var); 
    333351 
    334352/** 
     
    340358PJ_DECL(void) pj_atomic_add( pj_atomic_t *atomic_var, 
    341359                             pj_atomic_value_t value); 
     360 
     361/** 
     362 * Add a value to an atomic type and get the result. 
     363 * 
     364 * @param atomic_var    The atomic variable. 
     365 * @param value         Value to be added. 
     366 * 
     367 * @return              The result after the addition. 
     368 */ 
     369PJ_DECL(pj_atomic_value_t) pj_atomic_add_and_get( pj_atomic_t *atomic_var, 
     370                                                  pj_atomic_value_t value); 
    342371 
    343372/** 
Note: See TracChangeset for help on using the changeset viewer.