From dc9e30902a2f3377ef607deb92ced881c224550b Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Thu, 26 Nov 2015 21:13:41 +0100 Subject: Deprecated Glib::ThreadPool. Because we should encourage the use of 2 different thread APIs at the same time. Maybe std::async() does what a thread pool would do? If so, we should improve the deprecation documentation. --- examples/thread/threadpool.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'examples') diff --git a/examples/thread/threadpool.cc b/examples/thread/threadpool.cc index e5cd68cf..b1a382da 100644 --- a/examples/thread/threadpool.cc +++ b/examples/thread/threadpool.cc @@ -2,11 +2,17 @@ #include #include #include + +//TODO: Remove this example sometime. Glib::ThreadPool is deprecated. +//TODO: Maybe use std::async() instead? +#undef GLIBMM_DISABLE_DEPRECATED + #include #include #include + namespace { -- cgit v1.2.1