Rob
Forum Moderator

Why are you assigning a thread to the DEFINE_PROFILE? You write a profile and then manually attach it to a surface as per the example in the manual.