diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2003-01-14 00:51:36 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2003-01-14 00:51:36 +0000 |
commit | b769340aedd5d08b9c818d601f9e01d1c71bf94f (patch) | |
tree | 8a2de783fd2a9805bb03e8f1dfa471aff2e57862 /misc | |
parent | 73df543eb3c00dbc726d53279a302be16c1a3152 (diff) | |
download | libapr-b769340aedd5d08b9c818d601f9e01d1c71bf94f.tar.gz |
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
Diffstat (limited to 'misc')
-rw-r--r-- | misc/netware/libprews.c | 65 |
1 files changed, 0 insertions, 65 deletions
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; -} |