Built in way of determining if you're on the message thread?


#1

Hi, is there anything in the API to test this so that it’s safe to call GUI update functions?

thx


#2

MessageManager::getInstance()->isThisTheMessageThread()


#3

yes: bool MessageManager::isThisTheMessageThread ( ) const


#4

lovely - thanks for the quick reply…