Skip to content

Commit

Permalink
fix pthread_setname_np (#6630) (#7382)
Browse files Browse the repository at this point in the history
close #6456, close #6616
  • Loading branch information
ti-chi-bot authored Apr 25, 2023
1 parent 7a8bd1d commit ac4e863
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 ac4e863

Please sign in to comment.