Commit 764f9887 authored by Nils Goroll's avatar Nils Goroll

sync comment with reality

parent b21b0d7b
...@@ -416,13 +416,13 @@ pool_breed(struct pool *qp) ...@@ -416,13 +416,13 @@ pool_breed(struct pool *qp)
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
* Herd a single pool * Herd a single pool
* *
* This thread wakes up whenever a pool queues. * This thread wakes every 5 seconds and whenever a pool queues.
* *
* The trick here is to not be too aggressive about creating threads. * The trick here is to not be too aggressive about creating threads. In
* We do this by only examining one pool at a time, and by sleeping * pool_breed(), we sleep whenever we create a thread and a little while longer
* a short while whenever we create a thread and a little while longer * whenever we fail to, hopefully missing a lot of cond_signals in the meantime.
* whenever we fail to, hopefully missing a lot of cond_signals in *
* the meantime. * Idle threads are destroyed at a rate termined by wthread_destroy_delay
* *
* XXX: probably need a lot more work. * XXX: probably need a lot more work.
* *
......
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