summaryrefslogtreecommitdiff
path: root/src/util/thread.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-11-13 21:49:50 +0100
committerkwolekr <kwolekr@minetest.net>2013-11-17 12:46:43 -0500
commiteadc9431592f1e21a9211c3487334cd31ed54db1 (patch)
tree566f5551aa007e4d55b86173a9c31e7893dc8f6c /src/util/thread.h
parentdc407e219f8b0394f3a4d10ea8379b8678d98d1c (diff)
downloadminetest-eadc9431592f1e21a9211c3487334cd31ed54db1.tar.gz
minetest-eadc9431592f1e21a9211c3487334cd31ed54db1.tar.bz2
minetest-eadc9431592f1e21a9211c3487334cd31ed54db1.zip
Add missing RequestQueue doc
Diffstat (limited to 'src/util/thread.h')
-rw-r--r--src/util/thread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/thread.h b/src/util/thread.h
index 70d41aeb9..6258a09a1 100644
--- a/src/util/thread.h
+++ b/src/util/thread.h
@@ -150,6 +150,13 @@ public:
std::list<CallerInfo<Caller, CallerData, Key, T> > callers;
};
+/**
+ * Notes for RequestQueue usage
+ * @param Key unique key to identify a request for a specific resource
+ * @param T ?
+ * @param Caller unique id of calling thread
+ * @param CallerData data passed back to caller
+ */
template<typename Key, typename T, typename Caller, typename CallerData>
class RequestQueue
{