summaryrefslogtreecommitdiff
path: root/ace/Filecache.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-22 18:08:24 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-22 18:08:24 +0000
commit6af58c3c72ef8cc721c239c3046ea923dcd3f8f5 (patch)
tree3f28f12d571aef74964729b47d6ce488874dc6ea /ace/Filecache.h
parentbffafcc6b1b2da21e8ec2a11d83b1dcbcbeba23c (diff)
downloadATCD-6af58c3c72ef8cc721c239c3046ea923dcd3f8f5.tar.gz
preallocate locks for Filecache and Signal in ACE_Object_Manager
Diffstat (limited to 'ace/Filecache.h')
-rw-r--r--ace/Filecache.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/ace/Filecache.h b/ace/Filecache.h
index 3aff3402e4a..ca5db9d24bf 100644
--- a/ace/Filecache.h
+++ b/ace/Filecache.h
@@ -89,7 +89,7 @@ public:
// opened for reading.
ACE_Filecache_Handle (const char *filename,
- int size);
+ int size);
// Create new entry, and acquire it. Presence of SIZE assumes the
// file is being opened for writing.
@@ -213,11 +213,6 @@ private:
static ACE_Filecache *cvf_;
// The reference to the instance
-
- // = Synchronization variables.
- static ACE_SYNCH_RW_MUTEX lock_;
- static ACE_SYNCH_RW_MUTEX hash_lock_[DEFAULT_VIRTUAL_FILESYSTEM_TABLE_SIZE];
- static ACE_SYNCH_RW_MUTEX file_lock_[DEFAULT_VIRTUAL_FILESYSTEM_TABLE_SIZE];
};
class ACE_Filecache_Object
@@ -251,7 +246,7 @@ public:
// = error_ accessors
int error (void) const;
int error (int error_value,
- const char *s = "ACE_Filecache_Object");
+ const char *s = "ACE_Filecache_Object");
const char *filename (void) const;
// filename_ accessor
@@ -277,7 +272,7 @@ protected:
private:
int error_i (int error_value,
- const char *s = "ACE_Filecache_Object");
+ const char *s = "ACE_Filecache_Object");
// Internal error logging method, no locking.
public: