+/* Get current GMT time and return a message timestamp.
+ * Used for g_printf calls to logs and such. The return value
+ * is to a static buffer, so it should be used immediately.
+ *
+ * @returns: timestamp
+ */
+static char *
+msg_thread(void)
+{
+ static char thread[128];
+
+ sprintf(thread, "thd-%p", g_thread_self());
+
+ return thread;
+}
+