[vlc-devel] [PATCH] macosx: fix a thread-safety issue (crash when mounting multiple volumes at once)

Felix Paul Kühne fkuehne.videolan at googlemail.com
Fri Mar 30 17:51:16 CEST 2012

On 29.03.2012, at 15:19, Colin Delacroix wrote:

> Another thread-related crash in the same area. When receiving multiple 
> notifications at once, the o_opticalDevices array was used and modified at the 
> same time. I see no reason to avoid passing the path object directly, which
> is retained by detachNewThreadSelector, and no lock is needed at all since
> the array is not accessed outside of the main thread.

Applied with slightly modified commit message (35e8ad40158caf05b597d258609cb2c0570eaf0d).

Thanks a lot!

Best regards,


More information about the vlc-devel mailing list