commit | dd9a3a7cb9bd5f68bc6b1fe709e10b6bd1f5b433 | [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 | 34c1de4abc49bbb44f74e959e723344799eceb36 | |
parent | 956c553ab0ce72f8074ad0fda2ffd66a0305700c [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"