aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon_commands_handler.h
diff options
context:
space:
mode:
authormydesktop <dev.mc2@gmail.com>2014-04-30 16:50:06 -0400
committermydesktop <dev.mc2@gmail.com>2014-04-30 16:50:06 -0400
commit79a4bedc3669dfd3a3845e78ede144b5d7be7d1c (patch)
treeb34d971740ab96625267b6d2fd3f03fa6ac81977 /src/daemon/daemon_commands_handler.h
parentvarious fixes to allow mac osx compilation (diff)
downloadmonero-79a4bedc3669dfd3a3845e78ede144b5d7be7d1c.tar.xz
mac osx building fixes
Diffstat (limited to 'src/daemon/daemon_commands_handler.h')
-rw-r--r--src/daemon/daemon_commands_handler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/daemon/daemon_commands_handler.h b/src/daemon/daemon_commands_handler.h
index 7695508c9..dca524f77 100644
--- a/src/daemon/daemon_commands_handler.h
+++ b/src/daemon/daemon_commands_handler.h
@@ -291,7 +291,10 @@ private:
threads_count = (ok && 0 < threads_count) ? threads_count : 1;
}
- m_srv.get_payload_object().get_core().get_miner().start(adr, threads_count);
+ boost::thread::attributes attrs;
+ attrs.set_stack_size(THREAD_STACK_SIZE);
+
+ m_srv.get_payload_object().get_core().get_miner().start(adr, threads_count, attrs);
return true;
}
//--------------------------------------------------------------------------------