Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Mutex lock counter thread-safe?



Hello,

there is a counter variable "locked" in cMutex in thread.h,c. There is no separate lock for reading/writing this counter variable.

Shouldn't there be an extra lock in order to let multiple threads properly treat this member variable?

Lars



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index