You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/Thread_POSIX.cpp:69:39: error: 'pthread_setname_np' was not declared in this scope
pthread_setname_np(threadName.c_str()); // __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2)
poco info
poco : 1.12.2-all
system info
# uname -a
AIX ZEUS 1 6 00F6B0674C00
# gcc --version
gcc (GCC) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# g++ --version
g++ (GCC) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# cmake --version
cmake version 3.5.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
#make --version
GNU Make 4.1
Built for powerpc-ibm-aix6.1.0.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I can't find pthread_setname_np for Unix equipment as explained in the link below
12.39.19 pthread_setname_np
Documentation:
[man pthread_setname_np](https://www.kernel.org/doc/man-pages/online/pages/man3/pthread_setname_np.3.html)
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
This function is missing on many non-glibc platforms: glibc 2.11, Mac OS X 10.5, FreeBSD 12.0, OpenBSD 6.7, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.0, Cygwin 1.7.x, mingw, MSVC 14.
This function has a different signature on some platforms: NetBSD 9.0. On NetBSD the second argument is interpreted as a printf format string, with the third argument as parameter.
problem
poco info
system info
error log
I can't find pthread_setname_np for Unix equipment as explained in the link below
https://www.gnu.org/software/gnulib/manual/html_node/pthread_005fsetname_005fnp.html
I tested all of the equipment below, but I couldn't find the same pthread_setname_np
aix 6.1
aix 7.1
aix 7.2
solaris 11.1
solaris 11.2
The text was updated successfully, but these errors were encountered: