summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstreamqueue.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-01-05 15:43:23 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-01-05 15:43:23 -0500
commit61b5f3143e4ea53c9f64e5a1a5ad19f2edf3e776 (patch)
tree6abb6b649351a938e3b80a46b1f13e249e3bba99 /indra/llcommon/llstreamqueue.cpp
parent97876f6118eadf6a2669826d68412cc020975a64 (diff)
Introduce LLStreamQueue to buffer nonblocking I/O.
Add unit tests to verify basic functionality.
Diffstat (limited to 'indra/llcommon/llstreamqueue.cpp')
-rw-r--r--indra/llcommon/llstreamqueue.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/indra/llcommon/llstreamqueue.cpp b/indra/llcommon/llstreamqueue.cpp
new file mode 100644
index 0000000000..1116a2b6a2
--- /dev/null
+++ b/indra/llcommon/llstreamqueue.cpp
@@ -0,0 +1,24 @@
+/**
+ * @file llstreamqueue.cpp
+ * @author Nat Goodspeed
+ * @date 2012-01-05
+ * @brief Implementation for llstreamqueue.
+ *
+ * $LicenseInfo:firstyear=2012&license=viewerlgpl$
+ * Copyright (c) 2012, Linden Research, Inc.
+ * $/LicenseInfo$
+ */
+
+// Precompiled header
+#include "linden_common.h"
+// associated header
+#include "llstreamqueue.h"
+// STL headers
+// std headers
+// external library headers
+// other Linden headers
+
+// As of this writing, llstreamqueue.h is entirely template-based, therefore
+// we don't strictly need a corresponding .cpp file. However, our CMake test
+// macro assumes one. Here it is.
+bool llstreamqueue_cpp_ignored = true;