duma icon indicating copy to clipboard operation
duma copied to clipboard

Duration of tstheap

Open PeterBBBBB opened this issue 2 years ago • 0 comments

If the duration argument is not defined at start, the test runs forever. I found for example, running hurd in a VM, there is no response to CTRL-c, so the program cannot be halted without killing the VM

if ( argc >= 2 )
	duration = atoi(argv[1]);

Suggest add an else ( duration = 4000 or whatever).

PeterBBBBB avatar Jul 28 '22 15:07 PeterBBBBB