how to make a function that takes one functions and returns 0 if it halts for an amount of time

前端 未结 0 722
说谎
说谎 2020-12-20 05:45

As mentioned in the title, I trying to figure out a function that can return False if the func in the arg halts for more or less than a certain time. Or a decorator that can

相关标签:
回答
  • 消灭零回复
提交回复
热议问题