OPTION(ms_die_on_bad_msg, 0, OPT_BOOL, false),
OPTION(ms_dispatch_throttle_bytes, 0, OPT_INT, 100 << 20),
OPTION(ms_bind_ipv6, 0, OPT_BOOL, false),
+ OPTION(ms_rwthread_stack_bytes, 0, OPT_INT, 1024 << 10),
OPTION(mon_data, 0, OPT_STR, ""),
OPTION(mon_tick_interval, 0, OPT_INT, 5),
OPTION(mon_subscribe_interval, 0, OPT_DOUBLE, 300),
assert(pipe_lock.is_locked());
assert(!reader_running);
reader_running = true;
- reader_thread.create();
+ reader_thread.create(g_conf.ms_rwthread_stack_bytes);
}
void start_writer() {
assert(pipe_lock.is_locked());
assert(!writer_running);
writer_running = true;
- writer_thread.create();
+ writer_thread.create(g_conf.ms_rwthread_stack_bytes);
}
void join_reader() {
if (!reader_running)