Handbook
Glossary
<pool> ( class -- pool )
Connection pools
Prev:
pool
Next:
with-pool ( pool quot -- )
Vocabulary
io
.
pools
Inputs
class
a subclass of
pool
Outputs
pool
a
pool
Word description
Creates a new connection pool.
Notes
To avoid resource leaks, pools must be disposed of by calling
dispose
when no longer in use.
Definition
USING:
accessors
kernel
;
IN:
io.pools
:
<pool>
( class -- pool )
new
V{
}
clone
>>connections
dup
check-pool
;
inline