Repository: JDRaftKeeper/RaftKeeper (language: cpp)

Issue:
No name for NuRaft threads
<!-- (At least include the following, feel free to add if you have more content) -->

### RaftKeeper version
v2.0.3

### Description
No name for NuRaft threads in the output of command `ps -T` 

### How to reproduce 
Start RaftKeeper and send command `ps -T`



Discussion / hints:

Fix patch:
diff --git a/base/glibc-compatibility/glibc-compatibility.c b/base/glibc-compatibility/glibc-compatibility.c
index d4bb739a72..65125efecc 100644
--- a/base/glibc-compatibility/glibc-compatibility.c
+++ b/base/glibc-compatibility/glibc-compatibility.c
@@ -142,8 +142,8 @@ int __open_2(const char *path, int oflag)
 
 
 /// No-ops.
-int pthread_setname_np(pthread_t thread, const char *name) { return 0; }
-int pthread_getname_np(pthread_t thread, char *name, size_t len) { name[0] = '\0'; return 0; };
+//int pthread_setname_np(pthread_t thread, const char *name) { return 0; }
+//int pthread_getname_np(pthread_t thread, char *name, size_t len) { name[0] = '\0'; return 0; };
 
 
 #define SHMDIR "/dev/shm/"


Test patch: