1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00

add some additional debug messages

This commit is contained in:
Stefan Lankes 2018-04-17 16:26:53 +02:00
parent 6028d05a41
commit 2988496ef9

View file

@ -32,7 +32,9 @@ static void* perform_work( void* argument )
buf = malloc(SIZE*i); buf = malloc(SIZE*i);
free(buf); free(buf);
} }
printf("malloc_stats from thread %d\n", getpid());
malloc_stats(); malloc_stats();
printf("thread %d leaves thread function\n", getpid());
return NULL; return NULL;
} }