]> Git Repo - qemu.git/blobdiff - util/qemu-thread-win32.c
Merge remote-tracking branch 'mreitz/block' into queue-block
[qemu.git] / util / qemu-thread-win32.c
index 27a5217769c8eb5711fdf4b3c0fef802fb1dd62d..c405c9bef62d7a0ea31bb907191b6dd60c4460de 100644 (file)
 #include <assert.h>
 #include <limits.h>
 
+static bool name_threads;
+
+void qemu_thread_naming(bool enable)
+{
+    /* But note we don't actually name them on Windows yet */
+    name_threads = enable;
+
+    fprintf(stderr, "qemu: thread naming not supported on this host\n");
+}
+
 static void error_exit(int err, const char *msg)
 {
     char *pstr;
@@ -325,7 +335,7 @@ void *qemu_thread_join(QemuThread *thread)
     return ret;
 }
 
-void qemu_thread_create(QemuThread *thread,
+void qemu_thread_create(QemuThread *thread, const char *name,
                        void *(*start_routine)(void *),
                        void *arg, int mode)
 {
This page took 0.024591 seconds and 4 git commands to generate.