summaryrefslogtreecommitdiff
path: root/examples/thread/threadpool.cc
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>2012-02-28 16:13:03 +0100
committerKjell Ahlstedt <kjell.ahlstedt@bredband.net>2012-02-28 16:13:03 +0100
commit5a59b62212f0b8875da815a5d136d7a0c2899fdf (patch)
treed5d66f3df76df93b244cce2dd789537afae3fc34 /examples/thread/threadpool.cc
parent423e6fbb104bb08ab876f1642b043de996467f0b (diff)
downloadglibmm-5a59b62212f0b8875da815a5d136d7a0c2899fdf.tar.gz
Fix exceptions thrown by Thread::create() and Threads::Thread::create.
* glib/src/thread.ccg: create(): Call g_thread_try_new() instead of g_thread_new(). Throw a Glib::ThreadError when appropriate, instead of calling Glib::Error::throw_exception(), which would throw Glib::Threads::ThreadError. * glib/src/threads.ccg:create(): Call g_thread_try_new() instead of g_thread_new(). Remove parameter 'joinable'. * glib/src/threads.hg: Remove parameter 'joinable'. Remove comments about non-joinable threads and thread priorities. * examples/network/resolver.cc: * examples/network/socket-client.cc: * examples/network/socket-server.cc: * examples/thread/dispatcher.cc: * examples/thread/dispatcher2.cc: * examples/thread/thread.cc: Remove parameter 'joinable' in calls to Glib::Threads::Thread::create(). Bug #640029.
Diffstat (limited to 'examples/thread/threadpool.cc')
0 files changed, 0 insertions, 0 deletions