projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc407e2
)
Add missing RequestQueue doc
author
sapier
<Sapier at GMX dot net>
Wed, 13 Nov 2013 20:49:50 +0000
(21:49 +0100)
committer
kwolekr
<kwolekr@minetest.net>
Sun, 17 Nov 2013 17:46:43 +0000
(12:46 -0500)
src/util/thread.h
patch
|
blob
|
history
diff --git
a/src/util/thread.h
b/src/util/thread.h
index 70d41aeb982b4c1c21e6a536cf54b8c180ecda0a..6258a09a1a320509b18e202b955d0d6f19d24211 100644
(file)
--- 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
{