summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-02-06 11:46:21 -0500
committerWilliam Jon McCann <mccann@jhu.edu>2007-02-06 11:46:21 -0500
commit89ee325cf6a0006e48ce702cd5626b7ef4021b04 (patch)
tree342f46a7bea469ffda03b55907a4af00bc4026a2
parenta7208ca3337fef21daa9cd39e0178fe46d31ab99 (diff)
Make threads use minimum stack size rather than the default.
Patch from: mclasen@redhat.com
-rw-r--r--src/ck-vt-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ck-vt-monitor.c b/src/ck-vt-monitor.c
index eaaa9f4..675341e 100644
--- a/src/ck-vt-monitor.c
+++ b/src/ck-vt-monitor.c
@@ -271,7 +271,7 @@ watch_vts (CkVtMonitor *vt_monitor)
ck_debug ("Creating thread for vt %d", i);
error = NULL;
- thread = g_thread_create ((GThreadFunc)vt_thread_start, data, FALSE, &error);
+ thread = g_thread_create_full ((GThreadFunc)vt_thread_start, data, 16384, FALSE, TRUE, G_THREAD_PRIORITY_NORMAL, &error);
if (thread == NULL) {
ck_debug ("Unable to create thread: %s", error->message);
g_error_free (error);