-
Notifications
You must be signed in to change notification settings - Fork 0
n_threads = 0 causes SIGFPE #6
Copy link
Copy link
Open
Description
When setting threads on readers the user may choose 0
If this is not reset to a reasonable value the DAQ controller will fail on fOptions[++c%num_threads] ... with SIGFPE. I.e. division by zero.
This should throw an immediate runtime error or fix itself. Ie set the default number of threads = 8.
Alternatively, config validation in general would be advisable to implement if not as only a debug tool
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels