Commit 53a0c300 authored by Thomas Weidenmueller's avatar Thomas Weidenmueller Committed by Alexandre Julliard

Use anonymous events for synchronization.

parent 5f1b258c
...@@ -220,7 +220,7 @@ void UpdateApplicationListControlViewSetting(void) ...@@ -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)
......
...@@ -333,7 +333,7 @@ DWORD WINAPI PerformancePageRefreshThread(void *lpParameter) ...@@ -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)
......
...@@ -495,7 +495,7 @@ DWORD WINAPI ProcessPageRefreshThread(void *lpParameter) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment