Fabulous Adventures In Coding

Eric Lippert's Blog

mutex.h

#ifndef MUTEX_H // {
#define MUTEX_H

class Mutex
{
   
private:

    CRITICAL_SECTION m_criticalsection;
    BOOL m_fInitialized;

    Mutex();

public:

    static HRESULT Create(Mutex * * ppMutex);
    ~Mutex();
    void Enter(void);
    void Leave(void);
};

#endif // MUTEX_H }

Published Monday, April 19, 2004 6:22 PM by Eric Lippert
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication


© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker