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

Christophe Fergeau cfergeau at redhat.com
Mon Oct 22 09:44:51 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121022/1f5d4dbe/attachment.sig>


More information about the virt-tools-list mailing list