From a594d6320ee28c15332b4c0f240caab7ea8f857a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 19 Apr 2011 15:47:34 +0200 Subject: [PATCH] Resources: Renamed respool.* -> resource.* --- ucw/Makefile | 4 ++-- ucw/doc/trans.txt | 6 +++--- ucw/fastbuf.c | 2 +- ucw/res-eltpool.c | 2 +- ucw/res-fd.c | 2 +- ucw/res-mem.c | 2 +- ucw/res-mempool.c | 2 +- ucw/res-subpool.c | 2 +- ucw/{respool.c => resource.c} | 2 +- ucw/{respool.h => resource.h} | 0 ucw/trans.c | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) rename ucw/{respool.c => resource.c} (99%) rename ucw/{respool.h => resource.h} (100%) diff --git a/ucw/Makefile b/ucw/Makefile index e97c2832..15e56870 100644 --- a/ucw/Makefile +++ b/ucw/Makefile @@ -34,7 +34,7 @@ LIBUCW_MODS= \ bbuf gary \ getopt \ strtonum \ - respool trans res-fd res-mem res-subpool res-mempool res-eltpool + resource trans res-fd res-mem res-subpool res-mempool res-eltpool LIBUCW_MAIN_INCLUDES= \ lib.h log.h threads.h \ @@ -61,7 +61,7 @@ LIBUCW_MAIN_INCLUDES= \ kmp.h kmp-search.h binsearch.h \ partmap.h \ strtonum.h \ - respool.h trans.h + resource.h trans.h ifdef CONFIG_UCW_THREADS # Some modules require threading diff --git a/ucw/doc/trans.txt b/ucw/doc/trans.txt index 152c6dad..df3c8c0b 100644 --- a/ucw/doc/trans.txt +++ b/ucw/doc/trans.txt @@ -15,8 +15,8 @@ within the transaction. - <> - <> -Resource pools: ucw/respool.h [[respools]] ------------------------------------------- +Resource pools: ucw/resource.h [[respools]] +------------------------------------------- A resource pool contains a stack of resources. When a new resource is created, it is pushed onto the stack. When freeing the pool, the @@ -40,7 +40,7 @@ One pool can be used for at most one thread at a time. All functions which create resources do so in the active pool. All other functions operating on resources work on both active and in-active pools. -!!ucw/respool.h +!!ucw/resource.h Transactions: ucw/trans.h [[trans]] ----------------------------------- diff --git a/ucw/fastbuf.c b/ucw/fastbuf.c index 3c0481b3..a66d712b 100644 --- a/ucw/fastbuf.c +++ b/ucw/fastbuf.c @@ -11,7 +11,7 @@ #include "ucw/lib.h" #include "ucw/fastbuf.h" -#include "ucw/respool.h" +#include "ucw/resource.h" #include "ucw/trans.h" #include "ucw/stkstring.h" diff --git a/ucw/res-eltpool.c b/ucw/res-eltpool.c index b6027aed..b5480bfd 100644 --- a/ucw/res-eltpool.c +++ b/ucw/res-eltpool.c @@ -8,7 +8,7 @@ */ #include "ucw/lib.h" -#include "ucw/respool.h" +#include "ucw/resource.h" #include "ucw/eltpool.h" #include diff --git a/ucw/res-fd.c b/ucw/res-fd.c index ab04b8e7..99d2dfcf 100644 --- a/ucw/res-fd.c +++ b/ucw/res-fd.c @@ -8,7 +8,7 @@ */ #include "ucw/lib.h" -#include "ucw/respool.h" +#include "ucw/resource.h" #include #include diff --git a/ucw/res-mem.c b/ucw/res-mem.c index 16aba180..a6b425f1 100644 --- a/ucw/res-mem.c +++ b/ucw/res-mem.c @@ -8,7 +8,7 @@ */ #include "ucw/lib.h" -#include "ucw/respool.h" +#include "ucw/resource.h" #include #include diff --git a/ucw/res-mempool.c b/ucw/res-mempool.c index 51a85c53..74e5fa63 100644 --- a/ucw/res-mempool.c +++ b/ucw/res-mempool.c @@ -8,7 +8,7 @@ */ #include "ucw/lib.h" -#include "ucw/respool.h" +#include "ucw/resource.h" #include "ucw/mempool.h" #include diff --git a/ucw/res-subpool.c b/ucw/res-subpool.c index e224ae2c..c2ecbd09 100644 --- a/ucw/res-subpool.c +++ b/ucw/res-subpool.c @@ -8,7 +8,7 @@ */ #include "ucw/lib.h" -#include "ucw/respool.h" +#include "ucw/resource.h" #include diff --git a/ucw/respool.c b/ucw/resource.c similarity index 99% rename from ucw/respool.c rename to ucw/resource.c index 64f9a2fc..c4bed3ad 100644 --- a/ucw/respool.c +++ b/ucw/resource.c @@ -8,7 +8,7 @@ */ #include "ucw/lib.h" -#include "ucw/respool.h" +#include "ucw/resource.h" #include "ucw/mempool.h" #include diff --git a/ucw/respool.h b/ucw/resource.h similarity index 100% rename from ucw/respool.h rename to ucw/resource.h diff --git a/ucw/trans.c b/ucw/trans.c index 6fc9e8eb..4f04dac4 100644 --- a/ucw/trans.c +++ b/ucw/trans.c @@ -11,7 +11,7 @@ #include "ucw/lib.h" #include "ucw/trans.h" -#include "ucw/respool.h" +#include "ucw/resource.h" #include "ucw/mempool.h" #include -- 2.39.5