Sack Library Documentation
|
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).
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|