<br><br><div class="gmail_quote">On Mon, Dec 19, 2011 at 12:24 PM, Hans de Goede <span dir="ltr">&lt;<a href="mailto:hdegoede@redhat.com" target="_blank">hdegoede@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>+static void *usbredir_alloc_lock(void);<br>
+static void usbredir_lock_lock(void *user_data);<br>
+static void usbredir_unlock_lock(void *user_data);<br>
+static void usbredir_free_lock(void *user_data);<br>
+</div></blockquote></div><br>Minor nitpicks, I think it would be a bit less verbose and more pleasant to read if you would just use casts for calling glib flavours of mutexes.<br clear="all">
<div><br></div><div>Would there be drawbacks if the library would simply use the equivalent of GStaticMutex instead?</div><div><br></div>-- <br>Marc-André Lureau<br>