mirror of
https://github.com/Pithikos/C-Thread-Pool
synced 2024-11-22 05:31:18 +03:00
leak
This commit is contained in:
parent
e89ab31e42
commit
707e98e348
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user