mirror of
https://github.com/monero-project/monero.git
synced 2025-11-27 20:20:30 -05:00
mac osx building fixes
This commit is contained in:
parent
67df296650
commit
79a4bedc36
11 changed files with 41 additions and 22 deletions
|
|
@ -278,9 +278,12 @@ namespace nodetool
|
|||
m_net_server.add_idle_handler(boost::bind(&node_server<t_payload_net_handler>::idle_worker, this), 1000);
|
||||
m_net_server.add_idle_handler(boost::bind(&t_payload_net_handler::on_idle, &m_payload_handler), 1000);
|
||||
|
||||
boost::thread::attributes attrs;
|
||||
attrs.set_stack_size(THREAD_STACK_SIZE);
|
||||
|
||||
//go to loop
|
||||
LOG_PRINT("Run net_service loop( " << thrds_count << " threads)...", LOG_LEVEL_0);
|
||||
if(!m_net_server.run_server(thrds_count))
|
||||
if(!m_net_server.run_server(thrds_count, true, attrs))
|
||||
{
|
||||
LOG_ERROR("Failed to run net tcp server!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue