Tor  0.4.5.0-alpha-dev
Data Fields
tor_libevent_cfg_t Struct Reference

#include <compat_libevent.h>

Data Fields

int num_cpus
 
int msec_per_tick
 

Detailed Description

Defines a configuration for using libevent with Tor: passed as an argument to tor_libevent_initialize() to describe how we want to set up.

Definition at line 64 of file compat_libevent.h.

Field Documentation

◆ msec_per_tick

int msec_per_tick

How many milliseconds should we allow between updating bandwidth limits? (Not currently useful).

Definition at line 69 of file compat_libevent.h.

Referenced by init_libevent().

◆ num_cpus

int num_cpus

How many CPUs should we use (not currently useful).

Definition at line 66 of file compat_libevent.h.

Referenced by init_libevent(), and tor_libevent_initialize().


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