mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1882972 [Linux] Enable pthread_setname_np() on FreeBSD r=emilio
Backport from 382e71ce1d
Differential Revision: https://phabricator.services.mozilla.com/D203430
This commit is contained in:
parent
2dde24b573
commit
730a513447
2
third_party/wayland-proxy/wayland-proxy.cpp
vendored
2
third_party/wayland-proxy/wayland-proxy.cpp
vendored
@ -754,7 +754,7 @@ WaylandProxy::~WaylandProxy() {
|
||||
}
|
||||
|
||||
void* WaylandProxy::RunProxyThread(WaylandProxy* aProxy) {
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(__FreeBSD__)
|
||||
pthread_setname_np(pthread_self(), "WaylandProxy");
|
||||
#endif
|
||||
aProxy->Run();
|
||||
|
Loading…
Reference in New Issue
Block a user