commit | 631dcb42d1be0896c14e7830a45a5db4e3ee5ef6 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Mar 05 07:51:40 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Mar 05 07:51:40 2008 +0000 |
tree | acb419cc4700851be4ba223068c6aea7a076b512 | |
parent | 6987535d65529be108f36a51f8a603d675c89e16 [diff] |
Thrift: concurrency/Util.h: Add converters for 'struct timeval', cleanup Summary: - Added 'struct timeval' toMilliseconds and toTimeval converters modeled on the timespec ones - Added constants for microsecs, and got rid of the 500000 and 500 magic #'s :) Reviewed By: dreiss Test Plan: works in my test env Revert: OK DiffCamp Revision: 8742 git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665554 13f79535-47bb-0310-9956-ffa450edef68