This topic has not yet been rated - Rate this topic

What's New in Synchronization

Windows includes the following new programming elements for synchronization.

Windows 8 Consumer Preview

New Functions

DeleteSynchronizationBarrier

Deletes a synchronization barrier.

EnterSynchronizationBarrier

Causes the calling thread to wait at a synchronization barrier until the maximum number of threads have entered the barrier.

InitializeSynchronizationBarrier

Specifies the maximum number of threads and spin count for a new synchronization barrier.

WaitOnAddress

Waits for the value at the specified address to change.

WakeByAddressAll

Wakes all threads that are waiting for the value of an address to change.

WakeByAddressSingle

Wakes one thread that is waiting for the value of an address to change.

Windows 7

New Functions

SetWaitableTimerEx

Activates the specified waitable timer and provides context information for the timer.

TryAcquireSRWLockExclusive

Attempts to acquire a slim reader/writer (SRW) lock in exclusive mode. If the call is successful, the calling thread takes ownership of the lock.

TryAcquireSRWLockShared

Attempts to acquire a slim reader/writer (SRW) lock in shared mode. If the call is successful, the calling thread takes ownership of the lock.

New Structures

REASON_CONTEXT

Contains context information for a timer activated with SetWaitableTimerEx.

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ