]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/doc/fastbuf.txt
Automatic tying of fastbufs to resources.
[libucw.git] / ucw / doc / fastbuf.txt
index d94fffe90cf44cef4cf9f12024d7f7e1acbb8ba0..86ab55d923dba0b55026c31489b4e050d4e9dfc9 100644 (file)
@@ -18,6 +18,12 @@ inbetween and remember that the file position reported by @btell() points after
 the flushed buffer, which is not necessarily the same as after the data you've
 really read.
 
+Most fastbuf back-ends also participate in the libucw resource management system.
+If you have a resource pool active, newly created fastbufs are automatically tied
+to resources in the pool, so when the pool gets cleaned up, the fastbufs are
+freed, too. The bclose() function is still available and it removes the tie
+as needed.
+
 .Back-ends:
 - <<fbparam,Files (parametrized)>>
 - <<fbfile,Regular files>>