diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/thread/threadpool.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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 <iostream> #include <thread> #include <mutex> + +//TODO: Remove this example sometime. Glib::ThreadPool is deprecated. +//TODO: Maybe use std::async() instead? +#undef GLIBMM_DISABLE_DEPRECATED + #include <glibmm/random.h> #include <glibmm/threadpool.h> #include <glibmm/timer.h> + namespace { |