Do you mean use gwlist_consume instead gwlist_get (in dbpool_check) and gwlist_append instead gwlist_produce (in dbpool_increase) ?
or to use directly to get connections ? My SOLUTION (for the moment) is to hold one pool per thread and it works ;). -- Esteban L. Cacavelos de Amoriza Cel: 0981 220 429
