Skip to content

Commit

Permalink
Bug 1882972 [Linux] Enable pthread_setname_np() on FreeBSD r=emilio
Browse files Browse the repository at this point in the history
  • Loading branch information
stransky committed Mar 4, 2024
1 parent 2dde24b commit 730a513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/wayland-proxy/wayland-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 730a513

Please sign in to comment.