Changeset 36 for pjproject/main/pjlib/include/pj/os.h
- Timestamp:
- Nov 9, 2005 3:37:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/main/pjlib/include/pj/os.h
r5 r36 326 326 327 327 /** 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 */ 334 PJ_DECL(pj_atomic_value_t) pj_atomic_inc_and_get(pj_atomic_t *atomic_var); 335 336 /** 328 337 * Decrement the value of an atomic type. 329 338 * … … 331 340 */ 332 341 PJ_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 */ 350 PJ_DECL(pj_atomic_value_t) pj_atomic_dec_and_get(pj_atomic_t *atomic_var); 333 351 334 352 /** … … 340 358 PJ_DECL(void) pj_atomic_add( pj_atomic_t *atomic_var, 341 359 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 */ 369 PJ_DECL(pj_atomic_value_t) pj_atomic_add_and_get( pj_atomic_t *atomic_var, 370 pj_atomic_value_t value); 342 371 343 372 /**
Note: See TracChangeset
for help on using the changeset viewer.