This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea664b0
)
annotate S_ithread_count_inc mutex use
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 14 Nov 2015 14:09:38 +0000
(09:09 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 23 Nov 2015 11:55:12 +0000
(06:55 -0500)
No warnings issued, but a clear case for annotations.
dist/threads/threads.xs
patch
|
blob
|
blame
|
history
diff --git
a/dist/threads/threads.xs
b/dist/threads/threads.xs
index
10b0d9f
..
6c337ac
100644
(file)
--- a/
dist/threads/threads.xs
+++ b/
dist/threads/threads.xs
@@
-327,6
+327,7
@@
S_ithread_free(pTHX_ ithread *thread)
static void
S_ithread_count_inc(pTHX_ ithread *thread)
+ PERL_TSA_EXCLUDES(thread->mutex)
{
MUTEX_LOCK(&thread->mutex);
thread->count++;