summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-11-28 12:59:28 +0100
committerMurray Cumming <murrayc@murrayc.com>2015-11-28 12:59:28 +0100
commit7cb4a6c9409c1c2f9972e6439951e401043628d0 (patch)
treef6c14ff6555b638a53335c86e78c27284960a404
parentc7d7d5f169103b2d16527c52a95a5dc78e216da6 (diff)
downloadglibmm-7cb4a6c9409c1c2f9972e6439951e401043628d0.tar.gz
Threads::Private: Suggest use of thread_local.
-rw-r--r--glib/src/threads.hg2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/src/threads.hg b/glib/src/threads.hg
index 3fa16f7b..2cbd3f7c 100644
--- a/glib/src/threads.hg
+++ b/glib/src/threads.hg
@@ -574,6 +574,8 @@ private:
* It is recommended that all instances of this class are statically allocated.
* The first time an instance is used (get(), set() or replace() is called)
* glib allocates a scarce OS resource that cannot be deallocated.
+ *
+ * @deprecated Please use the thread_local keyword instead.
*/
template <class T>
class Private