From b769340aedd5d08b9c818d601f9e01d1c71bf94f Mon Sep 17 00:00:00 2001 From: bnicholes Date: Tue, 14 Jan 2003 00:51:36 +0000 Subject: Remove the stat info caching for NetWare git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64294 13f79535-47bb-0310-9956-ffa450edef68 --- misc/netware/libprews.c | 65 ------------------------------------------------- 1 file changed, 65 deletions(-) (limited to 'misc/netware/libprews.c') diff --git a/misc/netware/libprews.c b/misc/netware/libprews.c index 0818babbb..bf872c44e 100644 --- a/misc/netware/libprews.c +++ b/misc/netware/libprews.c @@ -144,71 +144,6 @@ int DisposeLibraryData(void *data) return 0; } -int setGlobalPool(void *data, int proc) -{ - APP_DATA *app_data = (APP_DATA*) get_app_data(gLibId); - - if ((proc < 0) || (proc > (MAX_PROCESSORS-1))) { - return 0; - } - - NXLock(gLibLock); - - if (app_data && !app_data->gPool[proc]) { - app_data->gPool[proc] = data; - } - - NXUnlock(gLibLock); - return 1; -} - -void* getGlobalPool(int proc) -{ - APP_DATA *app_data = (APP_DATA*) get_app_data(gLibId); - - if ((proc < 0) || (proc > (MAX_PROCESSORS-1))) { - return NULL; - } - - if (app_data) { - return app_data->gPool[proc]; - } - - return NULL; -} - -int setStatCache(void *data, int proc) -{ - APP_DATA *app_data = (APP_DATA*) get_app_data(gLibId); - - if ((proc < 0) || (proc > (MAX_PROCESSORS-1))) { - return 0; - } - - NXLock(gLibLock); - - if (app_data && !app_data->statCache[proc]) { - app_data->statCache[proc] = data; - } - - NXUnlock(gLibLock); - return 1; -} - -void* getStatCache(int proc) -{ - APP_DATA *app_data = (APP_DATA*) get_app_data(gLibId); - - if ((proc < 0) || (proc > (MAX_PROCESSORS-1))) { - return NULL; - } - - if (app_data) { - return app_data->statCache[proc]; - } - - return NULL; -} -- cgit v1.2.1