added init for mutex class
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
*
|
||||
* History
|
||||
* $Log$
|
||||
* Revision 1.2 1996/08/05 19:25:17 jhill
|
||||
* removed unused code
|
||||
*
|
||||
* Revision 1.1.1.1 1996/06/20 00:28:15 jhill
|
||||
* ca server installation
|
||||
*
|
||||
@@ -138,6 +141,10 @@ caStatus caServerI::init()
|
||||
int status;
|
||||
int resLibStatus;
|
||||
|
||||
if (this->osiMutex::init()) {
|
||||
return S_cas_noMemory;
|
||||
}
|
||||
|
||||
status = caServerIO::init();
|
||||
if (status) {
|
||||
return status;
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
*
|
||||
* History
|
||||
* $Log$
|
||||
* Revision 1.2 1996/07/09 22:54:31 jhill
|
||||
* store msg copy in the ctx
|
||||
*
|
||||
* Revision 1.1.1.1 1996/06/20 00:28:14 jhill
|
||||
* ca server installation
|
||||
*
|
||||
@@ -87,6 +90,10 @@ caStatus casClient::init()
|
||||
if (status) {
|
||||
return status;
|
||||
}
|
||||
status = this->casCoreClient::init();
|
||||
if (status) {
|
||||
return status;
|
||||
}
|
||||
|
||||
serverDebugLevel = this->ctx.getServer()->getDebugLevel();
|
||||
if (serverDebugLevel>0u) {
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
*
|
||||
* History
|
||||
* $Log$
|
||||
* Revision 1.8 1996/08/05 23:22:58 jhill
|
||||
* gddScaler => gddScalar
|
||||
*
|
||||
* Revision 1.7 1996/08/05 19:27:28 jhill
|
||||
* added process()
|
||||
*
|
||||
@@ -171,8 +174,8 @@ private:
|
||||
virtual void osdShow (unsigned level) const = 0;
|
||||
};
|
||||
|
||||
#include <casIOD.h> // IO dependent
|
||||
#include <casOSD.h> // OS dependent
|
||||
#include <casIOD.h> // IO dependent
|
||||
|
||||
enum casProcCond {casProcOk, casProcDisconnect};
|
||||
|
||||
@@ -209,6 +212,13 @@ public:
|
||||
eventsOff(aitFalse)
|
||||
{
|
||||
}
|
||||
init()
|
||||
{
|
||||
if (mutex.init()) {
|
||||
return S_cas_noMemory;
|
||||
}
|
||||
return S_cas_success;
|
||||
}
|
||||
~casEventSys();
|
||||
|
||||
void show(unsigned level);
|
||||
@@ -535,6 +545,13 @@ class casCoreClient : public osiMutex, public ioBlocked,
|
||||
public casEventSys {
|
||||
public:
|
||||
casCoreClient(caServerI &serverInternal);
|
||||
caStatus init()
|
||||
{
|
||||
if (this->osiMutex::init()) {
|
||||
return S_cas_noMemory;
|
||||
}
|
||||
return this->casEventSys::init();
|
||||
}
|
||||
virtual ~casCoreClient();
|
||||
virtual void destroy();
|
||||
virtual caStatus disconnectChan(caResId id);
|
||||
|
||||
Reference in New Issue
Block a user