This allows inactive threads to disappear from the threads report.
This may be useful for the numerous idle reporter threads, which
often report only their own activity.
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
m_thread_ptr = make_shared<thread>([this, func]() {
BeesNote::set_name(m_name);
BEESLOGDEBUG("Starting thread " << m_name);
- BEESNOTE("thread function");
+ // Better to have the entire thread disappear than to have
+ // it take up space in the threads report with no content
+ // BEESNOTE("thread function");
Timer thread_time;
catch_all([&]() {
func();