use anonymous events for synchronization
Modified: trunk/reactos/subsys/system/taskmgr/applpage.c
Modified: trunk/reactos/subsys/system/taskmgr/perfpage.c
Modified: trunk/reactos/subsys/system/taskmgr/procpage.c
_____
Modified: trunk/reactos/subsys/system/taskmgr/applpage.c
--- trunk/reactos/subsys/system/taskmgr/applpage.c 2005-04-19
17:12:03 UTC (rev 14703)
+++ trunk/reactos/subsys/system/taskmgr/applpage.c 2005-04-19
17:13:34 UTC (rev 14704)
@@ -213,7 +213,7 @@
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)
_____
Modified: trunk/reactos/subsys/system/taskmgr/perfpage.c
--- trunk/reactos/subsys/system/taskmgr/perfpage.c 2005-04-19
17:12:03 UTC (rev 14703)
+++ trunk/reactos/subsys/system/taskmgr/perfpage.c 2005-04-19
17:13:34 UTC (rev 14704)
@@ -320,7 +320,7 @@
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)
_____
Modified: trunk/reactos/subsys/system/taskmgr/procpage.c
--- trunk/reactos/subsys/system/taskmgr/procpage.c 2005-04-19
17:12:03 UTC (rev 14703)
+++ trunk/reactos/subsys/system/taskmgr/procpage.c 2005-04-19
17:13:34 UTC (rev 14704)
@@ -492,7 +492,7 @@
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)