diff options
author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2021-12-26 16:40:15 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-01-13 10:47:52 +0100 |
commit | ead789eb46a7df4eaab9e14e29e1d0d2a379988d (patch) | |
tree | 5a8161d1932b005ab9936508ca88289e0a948735 /scripts | |
parent | 1dbbe6f172810026c51dc84ed927a3cc23017949 (diff) | |
download | qemu-ead789eb46a7df4eaab9e14e29e1d0d2a379988d.zip qemu-ead789eb46a7df4eaab9e14e29e1d0d2a379988d.tar.gz qemu-ead789eb46a7df4eaab9e14e29e1d0d2a379988d.tar.bz2 |
jackaudio: use ifdefs to hide unavailable functions
On Windows the jack_set_thread_creator() function and on MacOS the
pthread_setname_np() function with a thread pointer paramater is
not available. Use #ifdefs to remove the jack_set_thread_creator()
function call and the qjack_thread_creator() function in both
cases.
The qjack_thread_creator() function just sets the name of the
created thread for debugging purposes and isn't really necessary.
From the jack_set_thread_creator() documentation:
(...)
No normal application/client should consider calling this. (...)
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/785
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20211226154017.6067-1-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions