[virt-tools-list] [PATCH virt-viewer] Use a mutex to check if VirtViewer running, v2

Marc-André Lureau marcandre.lureau at gmail.com
Mon Oct 22 10:07:36 UTC 2012


Hi,

According to "Process Hacker" the mutex name is correct.

On Mon, Oct 22, 2012 at 11:44 AM, Christophe Fergeau
<cfergeau at redhat.com> wrote:
> On Mon, Oct 22, 2012 at 11:31:29AM +0200, Marc-André Lureau wrote:
>> On Mon, Oct 22, 2012 at 9:47 AM, Christophe Fergeau <cfergeau at redhat.com> wrote:
>> > http://nsis.sourceforge.net/Allow_only_one_installer_instance also warns
>> > against CreateMutexA when using a unicode nsis, have you checked the mutex
>> > name or are you sure we are not using a unicode nsis?
>>
>> At least I have checked it works, so I assume there is no issue there.
>
> The page I linked to says things will always work, but that in the unicode
> nsis/CreateMutexA case, the mutex will be named 'V' instead of the expected
> 'VirtViewerMutex', so depending on what you checked, it may appear to be
> working but be buggy.
>
> Christophe



-- 
Marc-André Lureau




More information about the virt-tools-list mailing list