Tor  0.4.5.0-alpha-dev
Data Fields
consensus_diff_worker_job_t Struct Reference

Data Fields

consensus_cache_entry_tdiff_from
 
consensus_cache_entry_tdiff_to
 
compressed_result_t out [ARRAY_LENGTH(compress_diffs_with)]
 

Detailed Description

An object passed to a worker thread that will try to produce a consensus diff.

Definition at line 1390 of file consdiffmgr.c.

Field Documentation

◆ diff_from

Input: The consensus to compute the diff from. Holds a reference to the cache entry, which must not be released until the job is passed back to the main thread. The body must be mapped into memory in the main thread.

Definition at line 1396 of file consdiffmgr.c.

Referenced by consensus_diff_worker_replyfn(), and consensus_diff_worker_threadfn().

◆ diff_to

Input: The consensus to compute the diff to. Holds a reference to the cache entry, which must not be released until the job is passed back to the main thread. The body must be mapped into memory in the main thread.

Definition at line 1402 of file consdiffmgr.c.

◆ out

Output: labels and bodies

Definition at line 1405 of file consdiffmgr.c.


The documentation for this struct was generated from the following file: