diff options
author | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2012-02-28 16:13:03 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2012-02-28 16:13:03 +0100 |
commit | 5a59b62212f0b8875da815a5d136d7a0c2899fdf (patch) | |
tree | d5d66f3df76df93b244cce2dd789537afae3fc34 /examples/thread/threadpool.cc | |
parent | 423e6fbb104bb08ab876f1642b043de996467f0b (diff) | |
download | glibmm-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