X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Fos_win32.cpp;h=a0203544ee6b1298683c9e5c2b2e0b088c7aeb65;hb=0e47f66f21683a18f34282e07efa85cdac4fe0e0;hp=7e1a544a163597997130251f0f269ebfb63b2342;hpb=a0e612d13d479d1b0e65d11037060b473c9d722f;p=apitrace diff --git a/common/os_win32.cpp b/common/os_win32.cpp index 7e1a544..a020354 100644 --- a/common/os_win32.cpp +++ b/common/os_win32.cpp @@ -38,29 +38,6 @@ namespace os { -/* - * Trick from http://locklessinc.com/articles/pthreads_on_windows/ - */ -static CRITICAL_SECTION -criticalSection = { - (PCRITICAL_SECTION_DEBUG)-1, -1, 0, 0, 0, 0 -}; - - -void -acquireMutex(void) -{ - EnterCriticalSection(&criticalSection); -} - - -void -releaseMutex(void) -{ - LeaveCriticalSection(&criticalSection); -} - - String getProcessName(void) {