Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenKinect/libfreenect2
/ set_name
Function
set_name
include/internal/libfreenect2/threading.h:107–114 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
105
namespace this_thread
106
{
107
static inline void set_name(const char *name)
108
{
109
#if defined(__linux__)
110
prctl(PR_SET_NAME, name);
111
#elif defined(__APPLE__)
112
pthread_setname_np(name);
113
#endif
114
}
115
}
116
}
117
Callers
2
execute
Method · 0.85
execute
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected