This commit is contained in:
pithikos 2015-01-06 18:55:49 +00:00
parent e89ab31e42
commit 707e98e348
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@
#include <unistd.h>
#include <time.h>
/* This showcasts this issue: https://sourceware.org/ml/glibc-bugs/2007-04/msg00036.html */
/* Alsoe here: http://stackoverflow.com/questions/27803819/pthreads-leak-memory-even-if-used-correctly/27804629 */
volatile int threads_keepalive = 1;
void* thread_do(void *arg){