Zhiyi Zhang (@zhiyi) commented about programs/explorer/desktop.c:
}}
+static BOOL wait_named_mutex( const WCHAR *name ) +{
- HANDLE mutex;
- mutex = CreateMutexW( NULL, TRUE, name );
- if (GetLastError() == ERROR_ALREADY_EXISTS)
- {
TRACE( "waiting for mutex %s\n", debugstr_w( name ));WaitForSingleObject( mutex, INFINITE );- }
- return TRUE;
This function only returns TRUE so there is no point returning a value.