PageRenderTime 24ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/platform/win/platform/vars/mutex.d

http://github.com/wilkie/djehuty
D | 19 lines | 6 code | 4 blank | 9 comment | 0 complexity | 067bef5904eb709d5cf1e41d6cb02f3e MD5 | raw file
 1/*
 2 * mutex.d
 3 *
 4 * This module has the structure that is kept with a Mutex class for Windows.
 5 *
 6 * Author: Dave Wilkinson
 7 * Originated: July 22th, 2009
 8 *
 9 */
10
11module platform.vars.mutex;
12
13import platform.win.common;
14
15struct MutexPlatformVars {
16	CRITICAL_SECTION* _mutex;
17
18	HANDLE _semaphore;
19}