[parisc-linux] Re: [PATCH] linuxthreads for hppa (1/3)
Ulrich Drepper
drepper@redhat.com
Tue, 14 Oct 2003 22:56:37 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Carlos O'Donell wrote:
>>> Use __LT_INITIALIZER_NOT_ZERO instead of __LT_SPINLOCK_INIT.
>>
>>Why? No unnecessary changes.
>
>
> __LT_SPINLOCK_INIT is the value of the structure and used for
The
- -# if __LT_SPINLOCK_INIT != 0
- - __pthread_handles[0].h_lock = __LOCK_INITIALIZER;
- - __pthread_handles[1].h_lock = __LOCK_INITIALIZER;
+# ifdef __LT_INITIALIZER_NOT_ZERO
+ __pthread_handles[0].h_lock = __LOCK_ALT_INITIALIZER;
+ __pthread_handles[1].h_lock = __LOCK_ALT_INITIALIZER;
part is what I meant. There is no reason to change the name.
Look at your change, no changes of code which are not needed. Clean up
the patches to follow the coding standard, preprocessor indentation, etc
etc.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/jOGV2ijCOnn/RHQRAhQUAJ9/9i66NJnsUCcLb6eLUVOKIUXUzgCeOibq
l0Nqbif38PD+KbJgZqJVq20=
=4y0s
-----END PGP SIGNATURE-----