.


:




:

































 

 

 

 


LONG InterlockedExchangeAdd(




PLONG plAddend, // LONG,

//

LONG lIncrement //

130. Interlocked-. ?

LONG InterlockedExchange(

PLONG plTarget, // LONG,

//

LONG lValue //

);

LONG InterlockedExchangePointer(

PVOID* ppvTarget, //

LONG,

//

PVOID pvValue //

);

131. Interlocked-. ?

LONG InterlockedCompareExchange(

PLONG plDestination, //

LONG lExchange, //

LONG lComparand //

);

LONG InterlockedCompareExchangePointer(

PVOID* plDestination, //

PVOID lExchange, //

PVOID lComparand //

);

132. ?

InitializeCriticalSection

133. ?

EnterCriticalSection

134. ?

LeaveCriticalSection

135. ?

DeleteCriticalSection

136. ?

TryEnterCriticalSection

137. : 1) 2) 3) 4) 5) 6) 7) 8) 9) ?

????????????????????????

138. ?

- (signaledstate);

- (non-signaledstate).

139. WaitForMultipleObjects. DWORD nCount?

DWORDnCount, // -

MAX_WAIT_OBJECTS, 64.

140. WaitForMultipleObjects. CONST HANDLE *lpHandles?

141. WaitForMultipleObjects. BOOL bWaitAll?

bWaitAll TRUE,

.

142. WaitForMultipleObjects. DWORD dwMilliseconds?

143. CreateEvent. LPSECURITY_ATTRIBUTES lpEventAttributes?

144. CreateEvent. BOOL bManualReset?

145. CreateEvent. BOOL bInitialState?

146. ?

CreateEvent

147. , ?

OpenEvent.

148. ?

SetEvent

149. ?

ResetEvent

150. OpenEvent. DWORD dwDesiredAccess?

151. OpenEvent. BOOL bInheritHandle?

152. ?

CreateWaitableTimer

153. ?

OpenWaitableTimer

154. ?

SetWaitableTimer.

155. ?

??

HANDLE CancelWaitableTimer (HANDLE Timer);

156. SetWaitableTimer. HANDLE hTimer?

SetWaitableTimer.const LARGE_INTEGER *pDueTime?





:


: 2016-12-07; !; : 321 |


:

:

, , .
==> ...

1705 - | 1606 -


© 2015-2024 lektsii.org - -

: 0.01 .