io.pools: Rename

db4
Doug Coleman 2013-03-24 10:06:39 -07:00
parent 9f8ac586f7
commit dc1adc942b
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ M: pool dispose* connections>> dispose-each ;
: with-pool ( pool quot -- )
[ pool swap with-variable ] curry with-disposal ; inline
TUPLE: return-connection conn pool ;
TUPLE: return-connection-state conn pool ;
: return-connection ( conn pool -- )
dup check-pool connections>> push ;
@ -49,7 +49,7 @@ M: return-connection dispose
[ conn>> ] [ pool>> ] bi return-connection ;
: return-connection-later ( db pool -- )
\ return-connection boa &dispose drop ;
\ return-connection-state boa &dispose drop ;
TUPLE: datagram-pool < pool addrspec ;