def set_multithreading(val):
  LibPar.set_multithreading(val)