How to interrupt a long-running ccall C/C++ library?

It depends… Julia installs it’s own interrupt handlers and we currently don’t provide a facility for signal chaining.
Although we should!

So if your C++ library installs its own signal handler, most likely the Julia one will be called instead.