Nbird Posted May 17, 2017 Posted May 17, 2017 Should we use Mutex to prevent writing on same file / device by 2 or more threads? Any alternate suggestion? Nbird
g40 Posted May 25, 2017 Posted May 25, 2017 In general, yes a mutex is fine. use it to control access to the shared resource. If you are doing something more demanding (video for example) you might want to use a more sophisticated mechanism to minimize possibility of blocking etc.
Recommended Posts