예제 #1
0
파일: MixedStack.cs 프로젝트: tiandian/msos
 public UnifiedBlockingObject(CRITICAL_SECTION section, ulong address) : this(BlockingObjectOrigin.StackWalker)
 {
     OwnerOSThreadIds.Add((uint)section.OwningThread);
     Reason = UnifiedBlockingReason.CriticalSection;
     Type   = UnifiedBlockingType.CriticalSectionObject;
     Handle = address;
 }
 internal static extern bool SleepConditionVariableCS(ref CONDITION_VARIABLE ConditionVariable, ref CRITICAL_SECTION CriticalSection, int dwMilliseconds);
예제 #3
0
 public static extern int TryEnterCriticalSection(CRITICAL_SECTION lpCriticalSection);
예제 #4
0
 public static extern void LeaveCriticalSection(CRITICAL_SECTION lpCriticalSection);
예제 #5
0
 public static extern void InitializeCriticalSection(CRITICAL_SECTION lpCriticalSection);
예제 #6
0
 internal static extern void DeleteCriticalSection(ref CRITICAL_SECTION lpCriticalSection);
예제 #7
0
 internal static extern void InitializeCriticalSection(out CRITICAL_SECTION lpCriticalSection);
예제 #8
0
파일: MixedStack.cs 프로젝트: goldshtn/msos
 public UnifiedBlockingObject(CRITICAL_SECTION section, ulong address) : this(BlockingObjectOrigin.StackWalker)
 {
     OwnerOSThreadIds.Add((uint)section.OwningThread);
     Reason = UnifiedBlockingReason.CriticalSection;
     Type = UnifiedBlockingType.CriticalSectionObject;
     Handle = address;
 }
예제 #9
0
 [DllImport("kernel32.dll")] static extern void LeaveCriticalSection(ref CRITICAL_SECTION lpCriticalSection);
예제 #10
0
 internal static extern unsafe void DeleteCriticalSection(CRITICAL_SECTION* lpCriticalSection);
예제 #11
0
 internal static unsafe  extern void LeaveCriticalSection(CRITICAL_SECTION* lpCriticalSection);
예제 #12
0
 internal static extern unsafe void InitializeCriticalSectionEx(CRITICAL_SECTION* lpCriticalSection, int dwSpinCount, int flags);
예제 #13
0
 public static extern bool TryEnterCriticalSection(ref CRITICAL_SECTION
                                                   lpCriticalSection);
예제 #14
0
 public static extern void LeaveCriticalSection(ref CRITICAL_SECTION
                                                lpCriticalSection);
예제 #15
0
 static internal unsafe extern void DeleteCriticalSection(CRITICAL_SECTION* lpCriticalSection);