]> granicus.if.org Git - gc/commit
Do not use pthread_getattr_np if NO_PTHREAD_GETATTR_NP specified
authorIvan Maidanski <ivmai@mail.ru>
Sun, 6 Jan 2013 09:05:24 +0000 (13:05 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 6 Jan 2013 09:36:41 +0000 (10:36 +0100)
commitbdbdfbf1dda1533f2e0e5ad251318a618116b666
tree5df1b0c68fc3adf3a0c3406da2516be62040e18f
parent070b30d9ef62d88038d82c4619cb0a53520c78d0
Do not use pthread_getattr_np if NO_PTHREAD_GETATTR_NP specified

* include/private/gcconfig.h (NO_PTHREAD_GETATTR_NP): Define new macro
for NaCl.
* os_dep.c (GC_get_main_stack_base, GC_get_stack_base): Test
NO_PTHREAD_GETATTR_NP instead of NACL (i.e., do not use
pthread_getattr_np if NO_PTHREAD_GETATTR_NP).
include/private/gcconfig.h
os_dep.c