]> sourceware.org Git - glibc.git/commit
nptl: Add adapt_count parameter to lll_unlock_elision
authorPaul Murphy <murphyp@linux.vnet.ibm.com>
Thu, 3 Sep 2015 18:40:11 +0000 (13:40 -0500)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Thu, 15 Oct 2015 21:55:48 +0000 (18:55 -0300)
commite5e6bea22a2939fe7c415a375992f3ca19f9ff2e
tree020b80fd6849e58a1ad7fec2c305fa75be4d3fbf
parent3c82bb5042330441a18fd8e8d5b74d25d5540a66
nptl: Add adapt_count parameter to lll_unlock_elision

Adding this parameter will give architectures more freedom in
how they choose to update this variable.  This change has no
effect on architectures which choose not to use it.

* nptl/pthread_mutex_unlock.c(lll_unlock_elision):
Add elision adapt_count parameter to list of arguments.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
(lll_unlock_elision): Update with new parameter list
* sysdeps/unix/sysv/linux/s390/lowlevellock.h
(lll_unlock_elision): Likewise
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
(lll_unlock_elision): Likewise
ChangeLog
nptl/pthread_mutex_unlock.c
sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
sysdeps/unix/sysv/linux/s390/lowlevellock.h
sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
This page took 0.043886 seconds and 5 git commands to generate.