/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. module platform.vars.mutex;
  11. import platform.win.common;
  12. struct MutexPlatformVars {
  13. CRITICAL_SECTION* _mutex;
  14. HANDLE _semaphore;
  15. }