Use anonymous events for synchronization.

This commit is contained in:
Thomas Weidenmueller 2005-09-14 10:29:45 +00:00 committed by Alexandre Julliard
parent 5f1b258c9c
commit 53a0c30078
3 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,7 @@ void UpdateApplicationListControlViewSetting(void)
DWORD WINAPI ApplicationPageRefreshThread(void *lpParameter) DWORD WINAPI ApplicationPageRefreshThread(void *lpParameter)
{ {
/* Create the event */ /* 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 we couldn't create the event then exit the thread */
if (!hApplicationPageEvent) if (!hApplicationPageEvent)

View File

@ -333,7 +333,7 @@ DWORD WINAPI PerformancePageRefreshThread(void *lpParameter)
TCHAR Text[260]; TCHAR Text[260];
/* Create the event */ /* 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 we couldn't create the event then exit the thread */
if (!hPerformancePageEvent) if (!hPerformancePageEvent)

View File

@ -495,7 +495,7 @@ DWORD WINAPI ProcessPageRefreshThread(void *lpParameter)
ULONG OldProcessCount = 0; ULONG OldProcessCount = 0;
/* Create the event */ /* 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 we couldn't create the event then exit the thread */
if (!hProcessPageEvent) if (!hProcessPageEvent)