mirror of
https://github.com/encounter/bdwgc.git
synced 2026-03-30 10:57:55 -07:00
0d147af1c4
* misc.c (GC_init): Explicitly ignore returned value of pthread_mutexattr_destroy. * os_dep.c (GC_get_main_stack_base, GC_get_stack_base, GC_dirty_init): Likewise. * pthread_support.c (start_mark_threads, pthread_create): Likewise. * tests/test.c (main): Likewise. * win32_threads.c (start_mark_threads): Likewise. * pthread_support.c (pthread_create): ABORT (with the appropriate message) in case of pthread_attr_getstacksize or pthread_attr_init failure. * tests/test.c (main): Print error code and FAIL if pthread_attr_init or pthread_attr_setstacksize failed (only if GC_PTHREADS).