commit | a1a15112fed5f7ec934a352920b4c535941fd1ab | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Mar 09 05:19:54 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Mar 09 05:19:54 2010 +0000 |
tree | 5aca787d7a2489cbebb88fed005c97a47ac4eb84 | |
parent | eed92991cf064f7c89a911be734d51619150d6bf [diff] |
cpp: TSocket: call a second gettimeofday only for error checking Previously, we called gettimeofday twice for every send, which is costly. Now, we only make the second call if send fails with EAGAIN. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@920677 13f79535-47bb-0310-9956-ffa450edef68