<div dir="ltr">Is this change acceptable? Please let me know if you'd like me to make any changes.<div><br></div><div>Thanks,</div><div><br></div><div>Daniel</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 11, 2018 at 11:11 AM Daniel Deptford <<a href="mailto:ddeptford@google.com">ddeptford@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---<br>
common/threadpool.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/common/threadpool.c b/common/threadpool.c<br>
index 7f98f778..4d36105b 100644<br>
--- a/common/threadpool.c<br>
+++ b/common/threadpool.c<br>
@@ -34,7 +34,7 @@ typedef struct<br>
<br>
struct x264_threadpool_t<br>
{<br>
- int exit;<br>
+ volatile int exit;<br>
int threads;<br>
x264_pthread_t *thread_handle;<br>
void (*init_func)(void *);<br>
-- <br>
2.20.0.rc2.403.gdbc3b29805-goog<br>
<br>
</blockquote></div>