MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / checkUserInterrupt

Function checkUserInterrupt

inst/include/Rcpp/Interrupt.h:59–62  ·  view source on GitHub ↗

Check for interrupts and throw the sentinel exception if one is pending

Source from the content-addressed store, hash-verified

57
58 // Check for interrupts and throw the sentinel exception if one is pending
59 inline void checkUserInterrupt() {
60 if (R_ToplevelExec(checkInterruptFn, NULL) == FALSE)
61 throw internal::InterruptedException();
62 }
63
64} // namespace Rcpp
65

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected