commit | a0dbfefbf3d09eebdc784f3fe6049c8bbc62a498 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Mar 09 05:19:32 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Mar 09 05:19:32 2010 +0000 |
tree | 17f873e6cd020a1dfbccb319229341c731698050 | |
parent | b9db49c6776bde3b06ce8a5ceb32c873f8de4592 [diff] |
cpp: TNonBlockingServer: Use separate monitor for max queue We were using the same monitor for max queue size and empty queue, this meant the notifies might be going to the wrong place. This change significantly reduces the time spent in futex calls in loaded servers. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@920667 13f79535-47bb-0310-9956-ffa450edef68