MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / SetThreads

Method SetThreads

Libraries/unrar/unpack.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62#ifdef RAR_SMP
63void Unpack::SetThreads(uint Threads)
64{
65 // More than 8 threads are unlikely to provide noticeable gain
66 // for unpacking, but would use the additional memory.
67 MaxUserThreads=Min(Threads,8);
68 UnpThreadPool=new ThreadPool(MaxUserThreads);
69}
70#endif
71
72

Callers 1

CmdExtractMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected