How can my custom thread notify calling object of completion?

But that means you have to monitor that bool value on your game thread right? Is there a way I can pass a function like I would a bool reference? I get that monitoring that bool value could be done in a smaller way like only calling the monitor function a couple times a second, but wouldn’t it be nice to just have the work thread, when finished, call a function on the game thread to say it is done? Is this not possible, if the work thread calls a function on the game thread object that originally called for the creation of the work thread, does this function call stem from the work thread or the game thread?