mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
use anonymous events for synchronization
svn path=/trunk/; revision=14704
This commit is contained in:
@@ -213,7 +213,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)
|
||||
|
||||
@@ -320,7 +320,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)
|
||||
|
||||
@@ -492,7 +492,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)
|
||||
|
||||
Reference in New Issue
Block a user