aboutsummaryrefslogtreecommitdiff
path: root/Projects/XPLAINBridge/Lib
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-08-29 07:49:36 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-08-29 07:49:36 +0000
commit945ee831e1256403d574c81c0db403cdbe36d8c1 (patch)
treed67054544dc064d01709fd06b0399220b5d0652d /Projects/XPLAINBridge/Lib
parent6757eb75affb128c237253e803255cf1d3eafcd5 (diff)
Add better description of the Ultra-Lightweight Ring Buffer header files.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1455 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/XPLAINBridge/Lib')
-rw-r--r--Projects/XPLAINBridge/Lib/LightweightRingBuff.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Projects/XPLAINBridge/Lib/LightweightRingBuff.h b/Projects/XPLAINBridge/Lib/LightweightRingBuff.h
index cb0f6112..768e49a5 100644
--- a/Projects/XPLAINBridge/Lib/LightweightRingBuff.h
+++ b/Projects/XPLAINBridge/Lib/LightweightRingBuff.h
@@ -30,7 +30,14 @@
/** \file
*
- * Ultra lightweight ring buffer, for fast insertion/deletion.
+ * Ultra lightweight ring buffer, for fast insertion/deletion. This uses inlined functions
+ * for maximum speed. All buffers created with this library must be of the same size, however
+ * multiple independant buffers can be created.
+ *
+ * Note that for each buffer, insertion and removal operations may occur at the same time (via
+ * a multithreaded ISR based system) however the same kind of operation (two or more insertions
+ * or deletions) must not overlap. If there is possibility of two or more of the same kind of
+ * operating occuring at the same point in time, atomic (mutex) locking should be used.
*/
#ifndef _ULW_RING_BUFF_H_