diff options
author | mydesktop <dev.mc2@gmail.com> | 2014-04-30 16:50:06 -0400 |
---|---|---|
committer | mydesktop <dev.mc2@gmail.com> | 2014-04-30 16:50:06 -0400 |
commit | 79a4bedc3669dfd3a3845e78ede144b5d7be7d1c (patch) | |
tree | b34d971740ab96625267b6d2fd3f03fa6ac81977 /src/rpc/core_rpc_server.cpp | |
parent | various fixes to allow mac osx compilation (diff) | |
download | monero-79a4bedc3669dfd3a3845e78ede144b5d7be7d1c.tar.xz |
mac osx building fixes
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 311d2a145..4d78367b6 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -252,7 +252,10 @@ namespace cryptonote return true; } - if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count))) + boost::thread::attributes attrs; + attrs.set_stack_size(THREAD_STACK_SIZE); + + if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count), attrs)) { res.status = "Failed, mining not started"; return true; |