mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
690 B
35 lines
690 B
//
|
|
// Copyright (c) 1996 Microsoft Corporation
|
|
//
|
|
#include "common.h"
|
|
//
|
|
// SYNC.CPP -- Implemtation for Classes:
|
|
// CSync
|
|
//
|
|
// History:
|
|
// 05/22/96 JosephJ Created
|
|
//
|
|
//
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
// CLASS CSync
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#if (TODO)
|
|
|
|
//
|
|
// Signals all the events specified in the event list and at the same
|
|
// time distroys the list.
|
|
//
|
|
void CSync::mfn_SignalAndFree(SLIST *pEventList)
|
|
{
|
|
while(m_pEventList)
|
|
{
|
|
SLIST pOld = m_pEventList;
|
|
SetEvent((HANDLE) m_pEventList->pv);
|
|
m_pEventList = m_pEventList->Next();
|
|
delete m_pOld;
|
|
}
|
|
}
|
|
#endif // TODO
|