Commit a6327f8a authored by Anton Mitrofanov's avatar Anton Mitrofanov Committed by Henrik Gramner
Browse files

Fix data race detected by ThreadSanitizer

Bug report by Daniel Deptford.
parent 6172da4d
......@@ -34,7 +34,7 @@ typedef struct
struct x264_threadpool_t
{
int exit;
volatile int exit;
int threads;
x264_pthread_t *thread_handle;
void (*init_func)(void *);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment