Browse Source
Merge pull request #1498 from f0rget-the-sad/htif-stop-on-signal
fesvr/htif: allow exit on SIGINT.
pull/1500/head
Andrew Waterman
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
fesvr/htif.cc
|
|
|
@ -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(); |
|
|
|
} |
|
|
|
|
|
|
|
|