Setting thread names using prctl syscall
Habush opened this issue · 1 comments
Habush commented
linas commented
I assume you are building on Apple; to stub it out, you just need to add something like
#ifdef MACOS
#define prctl(a,b,c,d,e) {}
#endif
to cogutils/opencog/util/platform.h
and then make sure platform.h
is included where needed. ... If there's an equivalent call on apple, then it can be added to platform.cc
(which, after reading, looks like its old messy and needs a major cleanup.) That's probably the best solution.