0

Hi all I am just wondering how I can use Taskset command in windows?

Here's Part of code which is written in python and I am running it on windows it is giving error as taskset' is not recognized as an internal or external command

here's code below :-

    event_list = df.to_records(index=False)
    event_list  = list(event_list)
    os.system("taskset -p 0xff %d" % os.getpid())
    p = Pool(processes=60)
    p.starmap(calc_hazard,event_list)

print(time.time()-t_initial)```
vonka11
  • 1
  • 3

0 Answers0