Changeset 5304
- Timestamp:
-
05/28/11 01:47:42
(13 years ago)
- Author:
- Admin
- Message:
-
Fix memcpy issues in reader-videoguard2 and smartreader module: Memcpy() has undefined behaviour if it copies data onto itself => use memmove() instead.
Fix: Set CCCam client into shutdown mode before sleeping in cleanup_thread() to prevent race conditions.
Fix some locking behaviours: A trylock with an unlock might lead to undefined behaviour if the lock was not gained.
Fix: If a thread holds a mutex and is killed, a deadlock may arise as the mutex never gets unlocked. Thus, the mutex is now saved in the client structure and cleaned up in cleanup_thread().
- Location:
- trunk
-
Files:
-
Changeset view not shown, since the total size (1.5 MB) exceeds 976.6 KB