Skip to content
Snippets Groups Projects
Commit 53a0c300 authored by Thomas Weidenmüller's avatar Thomas Weidenmüller Committed by Alexandre Julliard
Browse files

Use anonymous events for synchronization.

parent 5f1b258c
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment