:
;
;
( );
( );
();
;
;
.
. . , .
, , (event). CreateEvent, ( ), . SetEvent, ResetEvent. PulseEvent : , , , , .
, ( ), () . , (Windows , ), . , ResetEvent, . , , .
(mutex). . ( ), - . CreateMutex . , , .
, , ReleaseMutex, V(S). , , .
, P(S) .
, , , , : . , .
(semaphore) , . CreateSemaphore : , ( ), ( ). . 1, ReleaseSemaphore , , .
|
|
, , .. , , .
(waitable timer) CreateWaitableTimer, SetWaitableTimer. : , . SetWaitableTimer , 100 . ( ), ( ). ( ), .
, , CancelWaitableTimer SetWaitableTimer. .
, Windows , SetTimer, .
FindFirstChangeNotification. :
, ;
, , ;
.
, , ( , ), , , .
, , . , FindNextChangeNotification, . FindCloseChangeNotification.
, ( , , Far Manager). , , , - .
CreateFile, (CONIN$). , .
CRITICAL_SECTION. , . , . ? , , , . , , . , .
|
|
, , . .
, CRITICAL_SECTION. , . InitializeCriticalSection, . EnterCriticalSection, , LeaveCriticalSection, . , , . TryEnterCriticalSection, , . DeleteCriticalSection.
, , , , . , .