commit | 898c4c91be8e11b6d5388c623ae80f12ac25fd27 | [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 | 8f59a103707c25a05bcf4fa074e944e766c15503 | |
parent | 66c46a6bd15422fe898d533d1350d6df748dd95b [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"