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 | 4900116e6f0edef6877c0e8a9ca19957d47765c9 (patch) | |
tree | 8ecc45f0f28d012d2ffc8dad01352654444b89c9 /libcacard | |
parent | 8f480de0c91a18d550721f8d9af969ebfbda0793 (diff) | |
download | qemu-4900116e6f0edef6877c0e8a9ca19957d47765c9.zip |
Add a 'name' parameter to qemu_thread_create
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>
Diffstat (limited to 'libcacard')
-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 24f7088ecf..3477ab3e1b 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; } |