From d9261bdb05cd0863a2c3747c812871dbb851646e Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 14 Aug 2019 11:45:34 +0200 Subject: Replace signal-based abort handling by query-based handling The abort handling is currently only used to process Ctrl-C from Matlab. Since Matlab R2019a, it appears that calling utIsInterruptPending() from a thread other than the main thread will crash. The previous approach of checking utIsInterruptPending() in a thread, and then signalling the running algorithm was therefore broken. --- cuda/3d/algo3d.cu | 2 -- 1 file changed, 2 deletions(-) (limited to 'cuda/3d/algo3d.cu') diff --git a/cuda/3d/algo3d.cu b/cuda/3d/algo3d.cu index b4a435b..3a83194 100644 --- a/cuda/3d/algo3d.cu +++ b/cuda/3d/algo3d.cu @@ -39,7 +39,6 @@ ReconAlgo3D::ReconAlgo3D() { coneProjs = 0; par3DProjs = 0; - shouldAbort = false; } ReconAlgo3D::~ReconAlgo3D() @@ -53,7 +52,6 @@ void ReconAlgo3D::reset() coneProjs = 0; delete[] par3DProjs; par3DProjs = 0; - shouldAbort = false; } bool ReconAlgo3D::setConeGeometry(const SDimensions3D& _dims, const SConeProjection* _angles, const SProjectorParams3D& _params) -- cgit v1.2.3