diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-04-12 22:29:58 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-04-12 22:33:04 -0500 |
commit | e569dd46ac06ef5a5f2ad03a311640e1834c749f (patch) | |
tree | 152f23fe0787e4beb828934c58554d31bb5df6c9 /kdesktop/lock/lockprocess.h | |
parent | 92d1f764023e933f1767335d074299230ac23a3f (diff) | |
download | tdebase-e569dd46ac06ef5a5f2ad03a311640e1834c749f.tar.gz tdebase-e569dd46ac06ef5a5f2ad03a311640e1834c749f.zip |
Remove call to pthread_cancel() in kdesktop_lock
This resolves a sporadic deadlock during kdesktop_lock termination
Diffstat (limited to 'kdesktop/lock/lockprocess.h')
-rw-r--r-- | kdesktop/lock/lockprocess.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kdesktop/lock/lockprocess.h b/kdesktop/lock/lockprocess.h index e063b9669..34e3da8e0 100644 --- a/kdesktop/lock/lockprocess.h +++ b/kdesktop/lock/lockprocess.h @@ -56,12 +56,18 @@ class ControlPipeHandlerObject : public TQObject public slots: void run(); + void terminateThread(); signals: void processCommand(TQString); public: LockProcess* mParent; + + private: + bool mRunning; + bool mTerminate; + pthread_t mThreadID; }; //=========================================================================== @@ -94,6 +100,9 @@ public: void msgBox( TQMessageBox::Icon type, const TQString &txt ); int execDialog( TQDialog* dlg ); +signals: + void terminateHelperThread(); + public slots: void quitSaver(); void preparePopup(); |