commit | bb641244d7d73312dc65b8e338df18b22e335107 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Tue May 18 17:06:55 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu May 20 18:00:42 2010 -0700 |
tree | 4a3e6e847513ad28bedd8de68da4ef2bd6ebf5ff | |
parent | dcf01e6644d0e9eca5aa08ee1b16a0d29d039e5e [diff] |
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"