memory_pool: name field — идентификация пула в диагностике коррапшна
This commit is contained in:
1 parent
9e133699bf
commit
075c4f4583
17 files changed
+39
-37
No files matched your search
+1
-1
@@ -1347,7 +1347,7 @@ struct UASYNC* uasync_create(void) {
|
||||
}
|
||||
|
||||
// Initialize timeout pool
|
||||
ua->timeout_pool = memory_pool_init(sizeof(struct timeout_node));
|
||||
ua->timeout_pool = memory_pool_init(sizeof(struct timeout_node), "timeout_pool");
|
||||
if (!ua->timeout_pool) {
|
||||
timeout_heap_destroy(ua->timeout_heap);
|
||||
socket_array_destroy(ua->sockets);
|
||||
|
||||
Reference in new issue
Block a user