]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/atomic.h
remove daily build of docs
[wxWidgets.git] / interface / atomic.h
index ee07a6636e6ec8e4a1dc3146cf321cc95158f51b..3ec54209db8975ef86c7ef489adb88828476621a 100644 (file)
@@ -1,14 +1,29 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        atomic.h
-// Purpose:     documentation for global functions
+// Purpose:     interface of global functions
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
+
+// ============================================================================
+// Global functions/macros
+// ============================================================================
+
+/** @ingroup group_funcmacro_atomic */
+//@{
+
 /**
-This function increments @a value in an atomic manner.
+    This function increments @a value in an atomic manner.
 */
 void wxAtomicInc(wxAtomicInt& value);
 
+/**
+    This function decrements value in an atomic manner.
+    Returns 0 if value is 0 after decrementation or any non-zero value
+    (not necessarily equal to the value of the variable) otherwise.
+*/
+wxInt32 wxAtomicDec(wxAtomicInt& value);
 
+//@}