public void ReleaseConnection (UnixConnection entry) { lock (_pool) { entry.ControlTime = DateTime.Now; // Initialize timeout _pool.Add (entry); Monitor.Pulse (_pool); } }
// Returns the connection to the pool public void Release() { _pool.ReleaseConnection(this); }