1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

	* spinlock.c: Correct test whether to compile
	__pthread_compare_and_swap or not.
This commit is contained in:
Ulrich Drepper
1998-06-26 09:51:29 +00:00
parent 0ca7e46e16
commit e138a80033
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1998-06-26 Ulrich Drepper <drepper@cygnus.com>
* spinlock.c: Correct test whether to compile
__pthread_compare_and_swap or not.
1998-06-25 19:27 Ulrich Drepper <drepper@cygnus.com>
* attr.c: Finish user stack support. Change locking code to be safe

View File

@ -116,7 +116,7 @@ again:
int __pthread_has_cas = 0;
#endif
#ifndef HAS_COMPARE_AND_SWAP
#if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP
static void __pthread_acquire(int * spinlock);