Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::timers::EnterCriticalSecEx Function
C++
IMPORT_METHOD LOGICAL EnterCriticalSecEx(PCRITICALSECTION pcs DBG_PASS);
#define EnterCriticalSec( pcs ) EnterCriticalSecEx( (pcs) DBG_SRC )
Parameters 
Description 
pcs 
pointer to a critical section to enter 

Enter a critical section. Only a single thread may be in a critical section, if a second thread attempts to enter the section while another thread is in it will block until the original thread leaves the section. The same thread may enter a critical section multiple times. For each time a critical section is entered, the thread must also leave the critical section (See LeaveCriticalSection).

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!