fixes for nng-1.8.0
This commit is contained in:
parent
b3f1d5611f
commit
f43647447e
2 changed files with 0 additions and 8 deletions
|
@ -813,11 +813,6 @@ int main(int argc, char *argv[])
|
||||||
//ImGuiSettingsHandler dpSettingsHandler;
|
//ImGuiSettingsHandler dpSettingsHandler;
|
||||||
//imgui->SettingsHandlers.push_back(dpSettingsHandler);
|
//imgui->SettingsHandlers.push_back(dpSettingsHandler);
|
||||||
|
|
||||||
//dp_nng_init_limits(1, 1, 1); // int ncpu_max, int pool_thread_limit_max, int resolv_thread_limit
|
|
||||||
//nng_set_ncpu_max(ncpu_max);
|
|
||||||
//nng_set_pool_thread_limit_max(pool_thread_limit_max);
|
|
||||||
nng_set_resolve_thread_max(1);
|
|
||||||
|
|
||||||
ControllerContext ctx;
|
ControllerContext ctx;
|
||||||
|
|
||||||
// ctrl pub socket: ctrl -> dooms
|
// ctrl pub socket: ctrl -> dooms
|
||||||
|
|
|
@ -23,9 +23,6 @@ void dp_nng_fatal(const char *const msg, int rv)
|
||||||
|
|
||||||
void dp_nng_init_limits(int ncpu_max, int pool_thread_limit_max, int resolv_thread_limit)
|
void dp_nng_init_limits(int ncpu_max, int pool_thread_limit_max, int resolv_thread_limit)
|
||||||
{
|
{
|
||||||
nng_set_ncpu_max(ncpu_max);
|
|
||||||
nng_set_pool_thread_limit_max(pool_thread_limit_max);
|
|
||||||
nng_set_resolve_thread_max(resolv_thread_limit);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nng_socket make_doom_pub(const char *url)
|
nng_socket make_doom_pub(const char *url)
|
||||||
|
|
Loading…
Reference in a new issue