From c5bfbfccc0bd563212547337d2b0a1e569b4c616 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 13 Aug 1996 22:58:38 +0000 Subject: [PATCH] added init to mutex class --- src/cas/os/posix/osiMutex.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cas/os/posix/osiMutex.h b/src/cas/os/posix/osiMutex.h index 0ce658885..7b855ad9e 100644 --- a/src/cas/os/posix/osiMutex.h +++ b/src/cas/os/posix/osiMutex.h @@ -1,11 +1,15 @@ - // // osiMutex - OS independent mutex // (NOOP on single threaded OS) // class osiMutex { public: + // + // constructor that returns status + // (since g++ does not have exceptions) + // + int init() {return 0;} void lock() {}; void unlock() {}; private: