johnsonjh / johnsonjh/duma

Duration of tstheap

Open
#191 0 comments 0 reactions 1 assignee Claimed by @johnsonjh View on GitHub
enhancement
Dominant language
C
Stars
121
Forks
12
Avg merge
3h 13m
Merged PRs (30d)
1

Description

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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.