mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Guarded mutex (no code and off makefile).
svn path=/trunk/; revision=11513
This commit is contained in:
parent
5f451aa443
commit
1ffec948ad
1 changed files with 49 additions and 0 deletions
49
reactos/ntoskrnl/ke/gmutex.c
Normal file
49
reactos/ntoskrnl/ke/gmutex.c
Normal file
|
@ -0,0 +1,49 @@
|
|||
/*
|
||||
* ReactOS kernel
|
||||
* Copyright (C) 2004 ReactOS Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: gmutex.c,v 1.1 2004/10/31 21:21:14 ea Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/ke/gmutex.c
|
||||
* PURPOSE: Implements guarded mutex (w2k3+/64)
|
||||
* PROGRAMMER:
|
||||
* UPDATE HISTORY:
|
||||
* Created 2004-10-31 based on Steve Dispensa's blog
|
||||
*/
|
||||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <ntoskrnl.h>
|
||||
#include <internal/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
/*
|
||||
KiWaitForGuardedMutexGate
|
||||
KeAcquireGuardedMutexUnsafe
|
||||
KeEnterGuardedRegion
|
||||
KeInitializeGuardedMutex
|
||||
KeReleaseGuardedMutexUnsafe
|
||||
WmipTraceGuardedMutex
|
||||
KeAcquireGuardedMutex
|
||||
KeTryToAcquireGuardedMutex
|
||||
KeReleaseGuardedMutex
|
||||
KeLeaveGuardedRegion
|
||||
*/
|
||||
|
||||
/* EOF */
|
Loading…
Reference in a new issue