diff options
author | Murray Cumming <murrayc@murrayc.com> | 2011-10-26 22:27:48 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2011-10-26 22:27:48 +0200 |
commit | acf84955b9a86597e4675a0edc0848851ecafba7 (patch) | |
tree | 9e029994b833936ffbf5c113d8a1cfa972465095 /ChangeLog | |
parent | 2137668ccdad1a908d3ed275b2cf2eee8afb94cb (diff) | |
download | glibmm-acf84955b9a86597e4675a0edc0848851ecafba7.tar.gz |
threadpool example: Use Mutex instead of StaticMutex.
* examples/thread/threadpool.cc: The advantage of StaticMutex was that
it would silently do nothing if threads were not initialized. That
was never a useful distinction in this example anyway.
Also remove the deprecated thread_init() call.
* glib/src/thread.ccg: Mutex: Add a TODO about not using the deprecated
API.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ 2011-10-26 Murray Cumming <murrayc@murrayc.com> + threadpool example: Use Mutex instead of StaticMutex. + + * examples/thread/threadpool.cc: The advantage of StaticMutex was that + it would silently do nothing if threads were not initialized. That + was never a useful distinction in this example anyway. + Also remove the deprecated thread_init() call. + * glib/src/thread.ccg: Mutex: Add a TODO about not using the deprecated + API. + +2011-10-26 Murray Cumming <murrayc@murrayc.com> + Fix the deprecation ifdefs. * glib/src/thread.hg: Move the deprecation ifdefs to avoid affecting |