This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ScaleOut StateServer session analysis sample. | |
* | |
* Copyright 2022 ScaleOut Software, Inc. | |
* | |
* LICENSE AND DISCLAIMER | |
* ---------------------- | |
* This material contains sample programming source code ("Sample Code"). | |
* ScaleOut Software, Inc. (SSI) grants you a nonexclusive license to compile, | |
* link, run, display, reproduce, and prepare derivative works of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* © Copyright 2003-2017 by ScaleOut Software, Inc. | |
* | |
* LICENSE AND DISCLAIMER | |
* ---------------------- | |
* This material contains sample programming source code ("Sample Code"). | |
* ScaleOut Software, Inc. (SSI) grants you a nonexclusive license to compile, | |
* link, run, display, reproduce, and prepare derivative works of | |
* this Sample Code. The Sample Code has not been thoroughly | |
* tested under all conditions. SSI, therefore, does not guarantee |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <Windows.h> | |
class srw_mutex | |
{ | |
public: | |
srw_mutex() | |
{ | |
::InitializeSRWLock(&srw_); |