cancel the search
| 9213 | |
| 9214 | // cancel the search |
| 9215 | void Static::cancel_ugrep() |
| 9216 | { |
| 9217 | std::unique_lock<std::mutex> lock(Static::grep_handle_mutex); |
| 9218 | if (Static::grep_handle != NULL) |
| 9219 | Static::grep_handle->cancel(); |
| 9220 | lock.unlock(); |
| 9221 | } |
| 9222 | |
| 9223 | // search the specified files or standard input for pattern matches |
| 9224 | void Grep::ugrep() |