summaryrefslogtreecommitdiff
path: root/includes/rts/SpinLock.h
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-08-25 09:50:47 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-08-25 09:50:47 +0000
commitd20d32d788e2d6c088e6b03776c428df5bb004d3 (patch)
tree5e2decf40aaf6777eec586a420f8183ee068501b /includes/rts/SpinLock.h
parentf871cf1bf889704a4ec1f0063ad4d96f31453ea3 (diff)
downloadhaskell-d20d32d788e2d6c088e6b03776c428df5bb004d3.tar.gz
Tidy up file headers and copyrights; point to the wiki for docs
I've updated the wiki page about the RTS headers http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes to reflect the new layout and explain some of the rationale. All the header files now point to this page.
Diffstat (limited to 'includes/rts/SpinLock.h')
-rw-r--r--includes/rts/SpinLock.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/rts/SpinLock.h b/includes/rts/SpinLock.h
index ea992a3457..9bfb35bbac 100644
--- a/includes/rts/SpinLock.h
+++ b/includes/rts/SpinLock.h
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
*
- * (c) The GHC Team, 2006-2008
+ * (c) The GHC Team, 2006-2009
*
* Spin locks
*
@@ -12,6 +12,11 @@
* TODO: measure whether we really need these, or whether Mutexes
* would do (and be a bit safer if a CPU becomes loaded).
*
+ * Do not #include this file directly: #include "Rts.h" instead.
+ *
+ * To understand the structure of the RTS headers, see the wiki:
+ * http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ *
* -------------------------------------------------------------------------- */
#ifndef RTS_SPINLOCK_H