api changes

This commit is contained in:
Jeff Hill
1997-04-10 20:01:14 +00:00
parent 7a8878dec6
commit 0804f7fb08
11 changed files with 62 additions and 31 deletions
+10 -2
View File
@@ -3,6 +3,14 @@
// osiMutex - OS independent mutex
// (NOOP on single threaded OS)
//
// NOTE:
// I have made lock/unlock const because this allows
// a list to be run in a const member function on a
// multi-threaded os (since paired lock/unlock
// requests really do not modify the internal
// state of the object and neither does
// running the list if we dont modify the list).
//
class osiMutex {
public:
//
@@ -10,8 +18,8 @@ public:
// (since g++ does not have exceptions)
//
int init() {return 0;}
void osiLock() {}
void osiUnlock() {}
void osiLock() const {}
void osiUnlock() const {}
void show (unsigned) const {}
private:
};