20 #ifndef TPIE_COMPRESSED_THREAD_H
21 #define TPIE_COMPRESSED_THREAD_H
32 #include <tpie/file_accessor/byte_stream_accessor.h>
43 typedef std::shared_ptr<compressor_buffer> buffer_t;
45 typedef std::mutex mutex_t;
47 static stream_size_type subtract_block_header(stream_size_type dataOffset);
68 typedef std::unique_lock<compressor_thread::mutex_t> lock_t;
78 ptime t3 = ptime::now();
80 increment_user(0, (stream_size_type)(ptime::seconds(t1, t2)*1000000));
82 increment_user(1, (stream_size_type)(ptime::seconds(t2, t3)*1000000));
97 #endif // TPIE_COMPRESSED_THREAD_H
Declare default file accessor.
Generic internal array with known memory requirements.
Useful compressed stream predeclarations.
Tagged union containing either a read_request or a write_request.
Compression scheme virtual interface.