void nf_setOptions(DWORD nThreads, DWORD flags)
The function can be called before nf_init. If it is called after the initialization, the changes are not applied until the library is reinitialized. By default nThreads = 1. It means that the events are indicated from a single thread. When nThreads=0 the code detects the number of processors and uses the equal number of worker threads.