I tried the macro and function versions presented here but I did not succeed in using them with my codes. For example, consider the computation
julia> @time inv(rand(8000,8000));
3.400652 seconds (8 allocations: 980.530 MiB)
I have not been able to interrupt it with any timeouts. Is it because the above expression calls an external library that refuses to yield? I need to be able to interrupt this kind of computations, what do I do?