| 583 | } |
| 584 | |
| 585 | void Return(HPool pool, HConnection connection) |
| 586 | { |
| 587 | DM_MUTEX_SCOPED_LOCK(pool->m_Mutex); |
| 588 | |
| 589 | Connection* c = GetConnection(pool, connection); |
| 590 | assert(c->m_State == STATE_INUSE); |
| 591 | c->m_State = STATE_CONNECTED; |
| 592 | } |
| 593 | |
| 594 | void Close(HPool pool, HConnection connection) |
| 595 | { |