fix the threading issue for setBuffercount()

this change introduces R/W locks in the right places.
on the server-side, it guarantees that setBufferCount()
is synchronized with "retire" and "resize".
on the client-side, it guarantees that setBufferCount()
is synchronized with "dequeue", "lockbuffer" and "queue"
1 file changed
tree: 34c1de4abc49bbb44f74e959e723344799eceb36
  1. camera/
  2. cmds/
  3. include/
  4. media/