mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
use anonymous events for synchronization
svn path=/trunk/; revision=14704
This commit is contained in:
parent
932dc7e607
commit
353f0bf39d
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue