bx
bx copied to clipboard
fixes osx/ios set thread name
In osx/ios, pthread_setname_np
can only set the name of the current thread. So the thread name must be set in the thread function.