Hi i am planning to run a websocket server in a separate thread from my main program. I am new to mutex, lock and unique_lock. I have saved the client pointer from 'onmessage' function. Can i safely use ws_sendframe from my main program using this pointer.