Commit 6feb688f authored by Witold Krecicki's avatar Witold Krecicki Committed by Witold Krecicki
Browse files

Use multiple network event loop threads with separate data structures.

parent cbc1b123
...@@ -824,7 +824,7 @@ create_managers(void) { ...@@ -824,7 +824,7 @@ create_managers(void) {
} }
result = isc_socketmgr_create2(named_g_mctx, &named_g_socketmgr, result = isc_socketmgr_create2(named_g_mctx, &named_g_socketmgr,
maxsocks); maxsocks, named_g_udpdisp);
if (result != ISC_R_SUCCESS) { if (result != ISC_R_SUCCESS) {
UNEXPECTED_ERROR(__FILE__, __LINE__, UNEXPECTED_ERROR(__FILE__, __LINE__,
"isc_socketmgr_create() failed: %s", "isc_socketmgr_create() failed: %s",
......
...@@ -813,7 +813,7 @@ isc_socketmgr_create(isc_mem_t *mctx, isc_socketmgr_t **managerp); ...@@ -813,7 +813,7 @@ isc_socketmgr_create(isc_mem_t *mctx, isc_socketmgr_t **managerp);
isc_result_t isc_result_t
isc_socketmgr_create2(isc_mem_t *mctx, isc_socketmgr_t **managerp, isc_socketmgr_create2(isc_mem_t *mctx, isc_socketmgr_t **managerp,
unsigned int maxsocks); unsigned int maxsocks, int nthreads);
/*%< /*%<
* Create a socket manager. If "maxsocks" is non-zero, it specifies the * Create a socket manager. If "maxsocks" is non-zero, it specifies the
* maximum number of sockets that the created manager should handle. * maximum number of sockets that the created manager should handle.
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment