Merge "Remove the __USE_GNU guard from pthread_setname_np again."
This commit is contained in:
commit
e725dc1640
1 changed files with 2 additions and 1 deletions
|
@ -247,8 +247,9 @@ pthread_t pthread_self(void) __pure2;
|
||||||
|
|
||||||
#if defined(__USE_GNU)
|
#if defined(__USE_GNU)
|
||||||
int pthread_getname_np(pthread_t, char*, size_t) __nonnull((2));
|
int pthread_getname_np(pthread_t, char*, size_t) __nonnull((2));
|
||||||
int pthread_setname_np(pthread_t, const char*) __nonnull((2));
|
|
||||||
#endif
|
#endif
|
||||||
|
/* TODO: this should be __USE_GNU too. */
|
||||||
|
int pthread_setname_np(pthread_t, const char*) __nonnull((2));
|
||||||
|
|
||||||
int pthread_setschedparam(pthread_t, int, const struct sched_param*) __nonnull((3));
|
int pthread_setschedparam(pthread_t, int, const struct sched_param*) __nonnull((3));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue