~ubuntu-branches/ubuntu/gutsy/icu/gutsy

« back to all changes in this revision

Viewing changes to source/common/umutex.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2005-05-21 22:44:31 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: package-import@ubuntu.com-20050521224431-r7rktfhnu1n4tf1g
Tags: 2.1-2.1
Rename icu-doc to icu21-doc. icu-doc is built by the icu28 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
   umtx_destroy( &aMutex ); */
76
76
U_CAPI void U_EXPORT2 umtx_destroy( UMTX *mutex );
77
77
 
 
78
/*
 
79
 * Atomic Increment and Decrement of an int32_t value.
 
80
 *
 
81
 * Return Values:
 
82
 *   If the result of the operation is zero, the return zero.
 
83
 *   If the result of the operation is not zero, the sign of returned value
 
84
 *      is the same as the sign of the result, but the returned value itself may
 
85
 *      be different from the result of the operation.
 
86
 */
 
87
U_CAPI int32_t U_EXPORT2 umtx_atomic_inc(int32_t *);
 
88
U_CAPI int32_t U_EXPORT2 umtx_atomic_dec(int32_t *);
 
89
 
 
90
 
78
91
#endif /*_CMUTEX*/
79
92
/*eof*/
80
93