Skip to content

Commit

Permalink
Merge pull request #1498 from f0rget-the-sad/htif-stop-on-signal
Browse files Browse the repository at this point in the history
fesvr/htif: allow exit on SIGINT.
  • Loading branch information
aswaterman authored Nov 10, 2023
2 parents 5f576bd + f04be98 commit 4f91697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fesvr/htif.cc
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ int htif_t::run()
std::bind(enq_func, &fromhost_queue, std::placeholders::_1);

if (tohost_addr == 0) {
while (true)
while (!signal_exit)
idle();
}

Expand Down

0 comments on commit 4f91697

Please sign in to comment.