pal: Add mActiveStreamMutex in RM to avoid race conditions.
Add mActiveStreamMutex in RM to avoid race condition between RM and stream. Stream gets destroyed from some other thread if the operation done on stream is not protected by some lock. Change-Id: I3d580a260cd981c54f3bde8b1fd7f0bcdbe04b9a
Showing
- resource_manager/inc/ResourceManager.h 1 addition, 0 deletionsresource_manager/inc/ResourceManager.h
- resource_manager/src/ResourceManager.cpp 39 additions, 40 deletionsresource_manager/src/ResourceManager.cpp
- stream/inc/Stream.h 0 additions, 1 deletionstream/inc/Stream.h
- stream/src/StreamCompress.cpp 4 additions, 5 deletionsstream/src/StreamCompress.cpp
- stream/src/StreamInCall.cpp 1 addition, 8 deletionsstream/src/StreamInCall.cpp
- stream/src/StreamPCM.cpp 9 additions, 8 deletionsstream/src/StreamPCM.cpp
Loading
Please register or sign in to comment