Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::timers::critical_section_tag Structure
C++
struct critical_section_tag {
  _32 dwUpdating;
  _32 dwLocks;
  THREAD_ID dwThreadID;
  THREAD_ID dwThreadWaiting;
};
Members 
Description 
_32 dwUpdating; 
this is set when entering or leaving (updating)... 
_32 dwLocks; 
count of locks entered. (only low 24 bits may count for 16M entries, upper bits indicate internal statuses. 
THREAD_ID dwThreadID; 
windows upper 16 is process ID, lower is thread ID 
THREAD_ID dwThreadWaiting; 
ID of thread waiting for this.. 

A custom implementation of windows CRITICAL_SECTION api

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!