I encountered a high cpu occupation of the problem, I would like to ask who knows how to solve, very grateful.
My procedure is a multi-threaded procedures, used poco library to operate sqlite database, the database will be inserted record every second operation, about 2 hours there will be a thread cpu occupied a high problem.
I found poco sqlite Statement object defined code occupy cpu 99% load
code: Statement st(dbsession))
my environment: linux 2.6.25 coldfire mcu gcc 4.3.2