use anonymous events for synchronization

svn path=/trunk/; revision=14704
This commit is contained in:
Thomas Bluemel 2005-04-19 17:13:34 +00:00
parent 932dc7e607
commit 353f0bf39d
3 changed files with 3 additions and 3 deletions

View file

@ -213,7 +213,7 @@ void UpdateApplicationListControlViewSetting(void)
DWORD WINAPI ApplicationPageRefreshThread(void *lpParameter)
{
/* Create the event */
hApplicationPageEvent = CreateEvent(NULL, TRUE, TRUE, _T("Application Page Event"));
hApplicationPageEvent = CreateEvent(NULL, TRUE, TRUE, NULL);
/* If we couldn't create the event then exit the thread */
if (!hApplicationPageEvent)

View file

@ -320,7 +320,7 @@ DWORD WINAPI PerformancePageRefreshThread(void *lpParameter)
TCHAR Text[260];
/* Create the event */
hPerformancePageEvent = CreateEvent(NULL, TRUE, TRUE, _T("Performance Page Event"));
hPerformancePageEvent = CreateEvent(NULL, TRUE, TRUE, NULL);
/* If we couldn't create the event then exit the thread */
if (!hPerformancePageEvent)

View file

@ -492,7 +492,7 @@ DWORD WINAPI ProcessPageRefreshThread(void *lpParameter)
ULONG OldProcessCount = 0;
/* Create the event */
hProcessPageEvent = CreateEvent(NULL, TRUE, TRUE, _T("Process Page Event"));
hProcessPageEvent = CreateEvent(NULL, TRUE, TRUE, NULL);
/* If we couldn't create the event then exit the thread */
if (!hProcessPageEvent)