diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2014-01-30 10:20:32 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-03-09 21:09:38 +0200 |
commit | 7ca871a93cefdb7a01ec44bffd240b015b4b36d2 (patch) | |
tree | 6cd78a5892ff17e4f25eb7f76ceacfe24084b9b2 | |
parent | c8a8d48ddc1f304b585d652b564425f4b5c1dae2 (diff) |
Add a 'name' parameter to qemu_thread_createv2.0.0-rc3v2.0.0-rc2v2.0.0-rc1v2.0.0-rc0v2.0.0
If enabled, set the thread name at creation (on GNU systems with
pthread_set_np)
Fix up all the callers with a thread name
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
-rw-r--r-- | libcacard/vscclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c index 24f7088..3477ab3 100644 --- a/libcacard/vscclient.c +++ b/libcacard/vscclient.c @@ -269,7 +269,7 @@ on_host_init(VSCMsgHeader *mhHeader, VSCMsgInit *incoming) send_msg(VSC_ReaderRemove, VSCARD_MINIMAL_READER_ID, NULL, 0); /* launch the event_thread. This will trigger reader adds for all the * existing readers */ - qemu_thread_create(&thread_id, event_thread, NULL, 0); + qemu_thread_create(&thread_id, "vsc/event", event_thread, NULL, 0); return 0; } |