Поделиться через


CMultiLock::CMultiLock

Constructs a CMultiLock object.

CMultiLock(
   CSyncObject* ppObjects[ ],
   DWORD dwCount,
   BOOL bInitialLock = FALSE 
);

Параметры

  • ppObjects
    Array of pointers to the synchronization objects to be waited on. Cannot be NULL.

  • dwCount
    Number of objects in ppObjects. Must be greater than 0.

  • bInitialLock
    Specifies whether to initially attempt to access any of the supplied objects.

Заметки

This function is called after creating the array of synchronization objects to be waited on. It is usually called from within the thread that must wait for one of the synchronization objects to become available.

Требования

Header: afxmt.h

См. также

Основные понятия

CMultiLock Class

CMultiLock Members

Hierarchy Chart