Skip to content

Commit

Permalink
1725888859
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh Kulykov committed Sep 9, 2024
1 parent 46b0055 commit b94b385
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/CPP/Windows/Handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace NWindows {

class CHandle MY_UNCOPYABLE
class CHandle Z7_final MY_UNCOPYABLE
{
protected:
HANDLE _handle;
Expand Down
2 changes: 1 addition & 1 deletion src/CPP/Windows/PropVariant.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ inline void PropVarEm_Set_Bool(PROPVARIANT *p, bool b) throw()
}


class CPropVariant : public tagPROPVARIANT
class CPropVariant Z7_final: public tagPROPVARIANT
{
// ---------- forbidden functions ----------
CPropVariant(const char *s);
Expand Down
10 changes: 5 additions & 5 deletions src/CPP/Windows/Synchronization.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CBaseEvent MY_UNCOPYABLE
WRes Lock() { return Event_Wait(&_object); }
};

class CManualResetEvent: public CBaseEvent
class CManualResetEvent Z7_final: public CBaseEvent
{
public:
WRes Create(bool initiallyOwn = false)
Expand All @@ -72,7 +72,7 @@ class CManualResetEvent: public CBaseEvent
#endif
};

class CAutoResetEvent: public CBaseEvent
class CAutoResetEvent Z7_final: public CBaseEvent
{
public:
WRes Create()
Expand Down Expand Up @@ -135,7 +135,7 @@ class CMutexLock MY_UNCOPYABLE
*/


class CSemaphore MY_UNCOPYABLE
class CSemaphore Z7_final MY_UNCOPYABLE
{
::CSemaphore _object;
public:
Expand All @@ -162,7 +162,7 @@ class CSemaphore MY_UNCOPYABLE
WRes Lock() { return Semaphore_Wait(&_object); }
};

class CCriticalSection MY_UNCOPYABLE
class CCriticalSection Z7_final MY_UNCOPYABLE
{
::CCriticalSection _object;
public:
Expand Down Expand Up @@ -208,7 +208,7 @@ inline DWORD WINAPI WaitForMultiObj_Any_Infinite(DWORD count, const CHandle_WFMO
#define SYNC_PARAM_DECL(x) NWindows::NSynchronization::CSynchro *x
#define SYNC_OBJ_DECL(x) NWindows::NSynchronization::CSynchro x;

class CSynchro MY_UNCOPYABLE
class CSynchro Z7_final MY_UNCOPYABLE
{
pthread_mutex_t _mutex;
pthread_cond_t _cond;
Expand Down
4 changes: 2 additions & 2 deletions src/CPP/Windows/System.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace NSystem {

UInt32 CountAffinity(DWORD_PTR mask);

struct CProcessAffinity
struct CProcessAffinity Z7_final
{
// UInt32 numProcessThreads;
// UInt32 numSysThreads;
Expand Down Expand Up @@ -57,7 +57,7 @@ struct CProcessAffinity

#else // WIN32

struct CProcessAffinity
struct CProcessAffinity Z7_final
{
UInt32 numSysThreads;

Expand Down
2 changes: 1 addition & 1 deletion src/CPP/Windows/Thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace NWindows {

class CThread MY_UNCOPYABLE
class CThread Z7_final MY_UNCOPYABLE
{
::CThread thread;
public:
Expand Down

0 comments on commit b94b385

Please sign in to comment.