aboutsummaryrefslogtreecommitdiff
path: root/src/output/sorting.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-05-01 22:12:00 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-05-01 22:12:00 +0200
commit0d1898ad881e05abf93c73fc8a13e4e5e5596335 (patch)
tree8cdcbb2c7f9dba7599020b1f5780349236706705 /src/output/sorting.rs
parent4e02a34827b0ae3ef5eb957ab142f5a4c0ece301 (diff)
downloadraidgrep-0d1898ad881e05abf93c73fc8a13e4e5e5596335.tar.gz
raidgrep-0d1898ad881e05abf93c73fc8a13e4e5e5596335.tar.bz2
raidgrep-0d1898ad881e05abf93c73fc8a13e4e5e5596335.zip
only cancel current search on Ctrl-C
This is not yet perfect, as it seems to still execute all queued threads just to immediately exit them, so maybe we should try and see if we can "clear" the rayon queue. But it's a good start, and the ctrlc crate seems to work well for this job.
Diffstat (limited to 'src/output/sorting.rs')
0 files changed, 0 insertions, 0 deletions