Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

65 lines
1.1 KiB

/* --------------------------------------------------------------------
Microsoft OS/2 LAN Manager
Copyright(c) Microsoft Corp., 1990
-------------------------------------------------------------------- */
/* --------------------------------------------------------------------
File: mutex.hxx
Description:
This file contains the system independent mutex class. This class is used
to create mutexes for use in protecting data structures.
-------------------------------------------------------------------- */
#ifndef __MUTEX__
#define __MUTEX__
class MUTEX
{
public:
MUTEX (
IN OUT RPC_STATUS PAPI * RpcStatus
) {};
~MUTEX(){};
void Request() {}
void Clear() {}
};
class EVENT
{
public:
EVENT (
IN OUT RPC_STATUS PAPI * RpcStatus
) {};
~EVENT() {};
void Raise() {}
void Lower() {}
int Wait(long timeOut = -1) { UNUSED(timeOut); return(0); }
};
class CLAIM_MUTEX {
public:
CLAIM_MUTEX(
MUTEX & ClaimedResource
)
{
}
~CLAIM_MUTEX(
)
{
}
};
#endif // __MUTEX__