13
0

Remove debug output (also fix some builds, missing stdio.h)

This commit is contained in:
Robin Gareus 2020-06-07 18:18:58 +02:00
parent b2c62db450
commit 21b8885fe9
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -252,9 +252,6 @@ static size_t pbd_stack_size ()
pthread_attr_t attr;
pthread_attr_init(&attr);
rv = __pthread_get_minstack(&attr);
#ifndef NDEBUG
printf("TLS of parent thread: %zd Bytes (pthread min-stack: %zu)\n", rv, pt_min_stack);
#endif
assert (rv >= pt_min_stack);
rv -= pt_min_stack;
pthread_attr_destroy(&attr);