set affinity for all tasks
Fixes: #298 (closed)
I am fetching the child threads by iterating over /proc/<pid>/task
. That is the same way as taskset implements it.
If one thread could not be set it fails silently. (I dont want to confuse the user with warnings about specific thread ids.)