Permalink
Browse files

Remove unused main_thread parameter from Thread::create.

  • Loading branch information...
1 parent b7e379b commit fe110b69c6441ea2582cfbe5636cf611ec308952 @southerngs southerngs committed Feb 10, 2014
Showing with 7 additions and 7 deletions.
  1. +1 −1 vm/agent.cpp
  2. +1 −1 vm/builtin/thread.cpp
  3. +1 −1 vm/builtin/thread.hpp
  4. +1 −1 vm/gc/finalize.cpp
  5. +1 −1 vm/gc/immix_marker.cpp
  6. +1 −1 vm/signal.cpp
  7. +1 −1 vm/vm.cpp
View
@@ -444,7 +444,7 @@ namespace rubinius {
vm_ = state->shared().new_vm();
exit_ = false;
- thread_.set(Thread::create(state, vm_, G(thread), query_agent_tramp, false, true));
+ thread_.set(Thread::create(state, vm_, G(thread), query_agent_tramp, true));
run(state);
}
@@ -46,7 +46,7 @@ namespace rubinius {
}
Thread* Thread::create(STATE, VM* target, Object* self, Run runner,
- bool main_thread, bool system_thread)
+ bool system_thread)
{
Thread* thr = state->vm()->new_object_mature<Thread>(G(thread));
@@ -287,7 +287,7 @@ namespace rubinius {
* @see Thread::allocate().
*/
static Thread* create(STATE, VM* target, Object* self, Run runner,
- bool main_thread = false, bool system_thread = false);
+ bool system_thread = false);
int start_new_thread(STATE, const pthread_attr_t &attrs);
static void* in_new_thread(void*);
View
@@ -126,7 +126,7 @@ namespace rubinius {
self_ = state->shared().new_vm();
paused_ = false;
exit_ = false;
- thread_.set(Thread::create(state, self_, G(thread), finalizer_handler_tramp, false, true));
+ thread_.set(Thread::create(state, self_, G(thread), finalizer_handler_tramp, true));
run(state);
}
@@ -52,7 +52,7 @@ namespace rubinius {
self_ = state->shared().new_vm();
paused_ = false;
exit_ = false;
- thread_.set(Thread::create(state, self_, G(thread), immix_marker_tramp, false, true));
+ thread_.set(Thread::create(state, self_, G(thread), immix_marker_tramp, true));
run(state);
}
View
@@ -69,7 +69,7 @@ namespace rubinius {
self_ = state->shared().new_vm();
paused_ = false;
exit_ = false;
- thread_.set(Thread::create(state, self_, G(thread), signal_handler_tramp, false, true));
+ thread_.set(Thread::create(state, self_, G(thread), signal_handler_tramp, true));
run(state);
}
View
@@ -134,7 +134,7 @@ namespace rubinius {
// Setup the main Thread, which is wrapper of the main native thread
// when the VM boots.
- thread.set(Thread::create(&state, this, G(thread), 0, true), &globals().roots);
+ thread.set(Thread::create(&state, this, G(thread), 0), &globals().roots);
thread->alive(&state, cTrue);
thread->sleep(&state, cFalse);

0 comments on commit fe110b6

Please sign in to comment.