diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-08-20 08:44:09 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2015-08-20 08:44:37 +0200 |
commit | cd4e69ed3e4b2d51ebd3dfaa0730793cf913de77 (patch) | |
tree | c95b512616c55ba5f40138a2dddf213f884eacf7 /sysdeps/x86 | |
parent | 948e12a238715b2931cc42486db9e502ff943e54 (diff) | |
download | glibc-cd4e69ed3e4b2d51ebd3dfaa0730793cf913de77.zip glibc-cd4e69ed3e4b2d51ebd3dfaa0730793cf913de77.tar.gz glibc-cd4e69ed3e4b2d51ebd3dfaa0730793cf913de77.tar.bz2 |
nptl: Document crash due to incorrect use of locks
Diffstat (limited to 'sysdeps/x86')
-rw-r--r-- | sysdeps/x86/elide.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/x86/elide.h b/sysdeps/x86/elide.h index 47e89cf..6e53288 100644 --- a/sysdeps/x86/elide.h +++ b/sysdeps/x86/elide.h @@ -93,7 +93,9 @@ elision_adapt(signed char *adapt_count, unsigned int status) ret; \ }) -/* Returns true if lock defined by IS_LOCK_FREE was elided. */ +/* Returns true if lock defined by IS_LOCK_FREE was elided. The call + to _xend crashes if the application incorrectly tries to unlock a + lock which has not been locked. */ #define ELIDE_UNLOCK(is_lock_free) \ ({ \ |