[MPlayer-dev-eng] [PATCH] Make Win32 mutex linked list thread safe

Steinar H. Gunderson sgunderson at bigfoot.com
Thu Mar 4 17:11:17 CET 2010


Another patch from my CineForm patch set:

loader/win32.c contains a global linked list of all existing mutexes,
whose head is called mlist. mlist is stored in a global variable and
accessed from multiple threads, and as such needs to be protected by
a mutex. Fixed.

/* Steinar */
-- 
Homepage: http://www.sesse.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlist-lock-patch.diff
Type: text/x-diff
Size: 2987 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100304/872f9383/attachment.diff>


More information about the MPlayer-dev-eng mailing list