bugfixed: cpool_node object pool must use lock
parent
3d74837527
commit
0995f447cb
|
|
@ -53,6 +53,7 @@ src/tests/test_atomic
|
|||
src/tests/test_file_write_hole
|
||||
src/tests/test_file_lock
|
||||
src/tests/test_thread_pool
|
||||
src/tests/test_data_visible
|
||||
|
||||
# other
|
||||
*.swp
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ int conn_pool_init_ex1(ConnectionPool *cp, int connect_timeout,
|
|||
if ((result=fast_mblock_init_ex1(&cp->node_allocator, "cpool_node",
|
||||
sizeof(ConnectionNode) + sizeof(ConnectionInfo) +
|
||||
extra_data_size, init_capacity, alloc_elements_limit,
|
||||
NULL, NULL, false)) != 0)
|
||||
NULL, NULL, true)) != 0)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue