How to terminate a program after exceeding a certain amount of time?

Правка en1, от connorwang38, 2020-09-06 08:25:20

I was wondering if there was a simple way to exit a program in case the time limit would be exceeded. Often times I might accidentally created an infinite loop, miscalculate time complexity, etc. and my computer freezes up where I have to reboot. Seems as though there should be easy solutions to this, but I couldn’t find any. Thanks in advance!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский connorwang38 2020-09-06 08:25:20 414 Initial revision (published)