pthread_setname_np (replacement) on AIX ?

Baesken, Matthias matthias.baesken at sap.com
Thu Oct 10 07:35:19 UTC 2019


Hello,  currently  pthread_setname_np   is used on e.g.  Linux and BSD

https://hg.openjdk.java.net/jdk/jdk/file/ccb7bf459cbd/src/hotspot/os/linux/os_linux.cpp#l5101

https://hg.openjdk.java.net/jdk/jdk/file/ccb7bf459cbd/src/hotspot/os/bsd/os_bsd.cpp#l3280


for setting  unique names for a threads.
See the Linux manpage :

https://linux.die.net/man/3/pthread_setname_np


I noticed  that   the function seems to  be available  now  on IBM i

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/pthread_setname_np.htm

but I did not find it on AIX  -  are there plans to include it on AIX ? Or is it already available in some SP ?
If not is there a replacmenet function for it  we could use ?


Thanks, Matthias







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20191010/a1a6b176/attachment.html>


More information about the ppc-aix-port-dev mailing list