[PATCH vkd3d 1/3] vkd3d: Fix pthread_setname_np(3) call on Mac OS.
hverbeet at gmail.com
Thu Aug 2 19:35:41 CDT 2018
On 2 August 2018 at 21:23, Chip Davis <cdavis at codeweavers.com> wrote:
> #ifdef HAVE_PTHREAD_SETNAME_NP
> +#ifdef __APPLE__
> + pthread_setname_np("vkd3d_worker");
> pthread_setname_np(pthread_self(), "vkd3d_worker");
I don't think we want to be sprinkling "#ifdef __APPLE__" across the
code. If we really want this to work (as opposed to e.g. making the
configure check for pthread_setname_np() more strict), it should
probably go into some header.
More information about the wine-devel