projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3846966
)
git-thrd_current
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Sat, 10 Sep 2022 22:05:13 +0000
(23:05 +0100)
committer
Aurelien Jarno
<aurel32@debian.org>
Sat, 10 Sep 2022 22:05:13 +0000
(23:05 +0100)
===================================================================
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-thrd_current.diff
sysdeps/htl/thrd_current.c
patch
|
blob
|
history
diff --git
a/sysdeps/htl/thrd_current.c
b/sysdeps/htl/thrd_current.c
index eecb86af85aa57636b6fa7d6937e8561a2bffcca..dbd318cb42140297831f43e143cbe5dc65c5c9ed 100644
(file)
--- a/
sysdeps/htl/thrd_current.c
+++ b/
sysdeps/htl/thrd_current.c
@@
-24,7
+24,7
@@
thrd_t
thrd_current (void)
{
- if (__pthread_threads)
+ if (
&__pthread_threads &&
__pthread_threads)
return (thrd_t) __pthread_self ();
return (thrd_t) 0;