Commit 1138f10b authored by Nils Goroll's avatar Nils Goroll

fix thread name for pool_poolherder, add it for pool_herder

parent 764f9887
......@@ -190,7 +190,7 @@ pool_poolherder(void *priv)
struct pool *pp;
uint64_t u;
THR_SetName("pool_herder");
THR_SetName("pool_poolherder");
(void)priv;
nwq = 0;
......
......@@ -438,6 +438,8 @@ pool_herder(void *priv)
CAST_OBJ_NOTNULL(pp, priv, POOL_MAGIC);
THR_SetName("pool_herder");
while (1) {
/* Make more threads if needed and allowed */
if (pp->nthr < cache_param->wthread_min ||
......
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