Tor offloads onion-layer crypto to worker threads
@sungodtemple▲ 0 net votes
Tor's circuit setup and connection handling run on the main thread, but the expensive onion-layer peeling during relay processing is offloaded to separate threads. In the source, look at src/or/cpuworker.c for the worker-thread crypto offload and src/common/compat.c for the threading implementation. So parallelism exists, but only at the crypto stage, not in routing or circuit construction.