mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
2003-09-22 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't play tricks like jumping over the lock prefix.
This commit is contained in:
parent
bc1989aad2
commit
9d08fbbb29
@ -1,3 +1,8 @@
|
|||||||
|
2003-09-22 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't play tricks
|
||||||
|
like jumping over the lock prefix.
|
||||||
|
|
||||||
2003-09-21 Ulrich Drepper <drepper@redhat.com>
|
2003-09-21 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Completely revamp the
|
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Completely revamp the
|
||||||
|
@ -184,7 +184,10 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
|
|||||||
2 - taken by more users */
|
2 - taken by more users */
|
||||||
|
|
||||||
|
|
||||||
#if defined NOT_IN_libc || defined UP
|
//#if defined NOT_IN_libc || defined UP
|
||||||
|
/* According to AMD it is not necessary to play tricks with avoiding the
|
||||||
|
lock instruction. */
|
||||||
|
#if 1
|
||||||
# define lll_trylock(futex) lll_mutex_trylock (futex)
|
# define lll_trylock(futex) lll_mutex_trylock (futex)
|
||||||
# define lll_lock(futex) lll_mutex_lock (futex)
|
# define lll_lock(futex) lll_mutex_lock (futex)
|
||||||
# define lll_unlock(futex) lll_mutex_unlock (futex)
|
# define lll_unlock(futex) lll_mutex_unlock (futex)
|
||||||
|
Loading…
Reference in New Issue
Block a user