Skip to content

Commit

Permalink
fix pthread_setname_np (#6630)
Browse files Browse the repository at this point in the history
Signed-off-by: hehechen <awd123456sss@gmail.com>

Signed-off-by: hehechen <awd123456sss@gmail.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
  • Loading branch information
hehechen and ti-chi-bot authored Jan 12, 2023
1 parent 6a60796 commit a795860
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libs/libglibc-compatibility/glibc-compatibility.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,6 @@ 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; };


#define SHMDIR "/dev/shm/"
const char * __shm_directory(size_t * len)
{
Expand Down

0 comments on commit a795860

Please sign in to comment.