MySQL Forums
Forum List  »  General

Re: Threads Remaining Open
Posted by: Scott Krise
Date: January 22, 2019 12:23PM

Sorry Peter, I sent my last message prior to reading your response.

Im using C++/QT in Windows as a development platform, and appears as though some threads stay active for a very long time...but I cant put my finger on why that is happening.

I guess the problem may not be as extreme as I feared if the TIME column on the SHOW PROCESSLIST is expressed in seconds? I have threads that are open for times exceeding 23000, so if it is seconds, This would only be between 6-7 hours. It still far longer than I would anticipate a single thread being open thought.

So the question still remains. Is there a way programatically that I can close a thread when the program is terminated?

Options: ReplyQuote

Written By
January 22, 2019 09:34AM
January 22, 2019 12:08PM
Re: Threads Remaining Open
January 22, 2019 12:23PM
January 22, 2019 12:29PM
January 22, 2019 01:52PM
January 22, 2019 02:13PM
January 22, 2019 12:11PM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.