mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
nptl: Document crash due to incorrect use of locks
This commit is contained in:
parent
948e12a238
commit
cd4e69ed3e
@ -1,3 +1,8 @@
|
|||||||
|
2015-08-20 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
|
||||||
|
incorrect use.
|
||||||
|
|
||||||
2015-08-19 Joseph Myers <joseph@codesourcery.com>
|
2015-08-19 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #18370]
|
[BZ #18370]
|
||||||
|
@ -93,7 +93,9 @@ elision_adapt(signed char *adapt_count, unsigned int status)
|
|||||||
ret; \
|
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) \
|
#define ELIDE_UNLOCK(is_lock_free) \
|
||||||
({ \
|
({ \
|
||||||
|
Loading…
Reference in New Issue
Block a user