mpv/osdep/win32
wm4 d431111b06 win32: fix massive memory corruption
The struct m_thread_info pointer is part of an array, that will be
reallocated if another thread is created while the run_thread is just
being called. In previous versions of this code, the pointer was stable
(as long as the thread existed), so this was overlooked.

Fixes #4770. I'm not sure why this triggers it so reliably, while it
remained undetected otherwise.
2017-08-21 17:47:00 +02:00
..
include win32: pthread: avoid using TLS, simplify pthread_t 2017-06-15 16:33:42 +02:00
pthread.c win32: fix massive memory corruption 2017-08-21 17:47:00 +02:00