1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Use a recursive mutex for the OpenAL stream thread

This commit is contained in:
Chris Robinson 2012-12-13 02:33:35 -08:00
parent ba9c5f5b4e
commit f067b22b3f

View File

@ -125,7 +125,7 @@ const ALfloat OpenAL_SoundStream::sBufferLength = 0.125f;
struct OpenAL_Output::StreamThread {
typedef std::vector<OpenAL_SoundStream*> StreamVec;
StreamVec mStreams;
boost::mutex mMutex;
boost::recursive_mutex mMutex;
boost::thread mThread;
StreamThread()