OSDN Git Service

2009-02-20 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / c_compatibility / stdatomic.h
index be66600..776f607 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*- compatibility header.
 
-// Copyright (C) 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 _GLIBCXX_BEGIN_NAMESPACE(std)
 _GLIBCXX_BEGIN_EXTERN_C
 
+  /**
+   * @defgroup atomics Atomics
+   *
+   * Components for performing atomic operations.
+   * @{
+   */
+
   /// Enumeration for memory_order
   typedef enum memory_order 
     {
@@ -179,6 +186,8 @@ _GLIBCXX_BEGIN_EXTERN_C
     atomic_flag_clear_explicit(__g, __x);                              \
     __r; })
 
+  // @} group atomics
+
 _GLIBCXX_END_EXTERN_C
 _GLIBCXX_END_NAMESPACE