From 53a0c300788e39cbe408c124ad4090ca3acf7ce3 Mon Sep 17 00:00:00 2001 From: Thomas Weidenmueller Date: Wed, 14 Sep 2005 10:29:45 +0000 Subject: [PATCH] Use anonymous events for synchronization. --- programs/taskmgr/applpage.c | 2 +- programs/taskmgr/perfpage.c | 2 +- programs/taskmgr/procpage.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/taskmgr/applpage.c b/programs/taskmgr/applpage.c index 695357885f1..325f807f589 100644 --- a/programs/taskmgr/applpage.c +++ b/programs/taskmgr/applpage.c @@ -220,7 +220,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) diff --git a/programs/taskmgr/perfpage.c b/programs/taskmgr/perfpage.c index 4a0ad965173..6c065574244 100644 --- a/programs/taskmgr/perfpage.c +++ b/programs/taskmgr/perfpage.c @@ -333,7 +333,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) diff --git a/programs/taskmgr/procpage.c b/programs/taskmgr/procpage.c index dd6b8e21f73..3f7bc11c3f9 100644 --- a/programs/taskmgr/procpage.c +++ b/programs/taskmgr/procpage.c @@ -495,7 +495,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)