/[Apache-SVN]
ViewVC logotype

Revision 664997


Jump to revision: Previous Next
Author: jwang
Date: Wed Feb 14 23:22:08 2007 UTC (17 years, 8 months ago)
Changed paths: 2
Log Message:
Thrift: Changing TFileTransport to use the same buffer-swap mechanism that pillar does

Reviewed by: aditya

Tested with thrift test class

Notes: TFileTransport used to use a circular buffer.  Changed this to use two large buffers, one for reading and one for writing, that are swapped whenever the writer thread finishes with the last write.

Also changed a few default constants -- force_flush timeout is now 3 sec, default buffer size is 10000 entries


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26