mirror of
https://github.com/Pithikos/C-Thread-Pool
synced 2025-02-16 22:04:00 +03:00
leak
This commit is contained in:
parent
e89ab31e42
commit
707e98e348
@ -5,6 +5,9 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <time.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;
|
volatile int threads_keepalive = 1;
|
||||||
|
|
||||||
void* thread_do(void *arg){
|
void* thread_do(void *arg){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user