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.
31 lines
444 B
31 lines
444 B
/*++
|
|
|
|
Copyright (C) 1996-2002 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
SYNC.HXX
|
|
|
|
Abstract:
|
|
|
|
Synchronization
|
|
|
|
History:
|
|
|
|
--*/
|
|
|
|
#ifndef __TASKSCHED_CRITSEC2__H_
|
|
#define __TASKSCHED_CRITSEC2__H_
|
|
|
|
class CStaticCritSec : public CRITICAL_SECTION
|
|
{
|
|
private:
|
|
bool initialized_;
|
|
static BOOL anyFailed_;
|
|
public:
|
|
static BOOL anyFailure();
|
|
CStaticCritSec();
|
|
~CStaticCritSec();
|
|
};
|
|
|
|
#endif
|