Changeset 5304

Timestamp:
May 28, 2011, 1:47:42 AM (8 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:
19 edited

Changeset view not shown, since the total size (1.5 MB) exceeds 976.6 KB

Note: See TracChangeset for help on using the changeset viewer.