New answers tagged


Well, i don't know if this is the proper way but i have managed to solved this by sending message to server and server sending that message back to the clients. Clients can act (move in my case) upon that.


a std::condition_variable will let you wait_for the event_queue.has_event() when pushing an event you can notify_one to wake up the waiting thread. However the downside of this is that you are depending on the scheduler to actually wake up the thread. However scheduler resolution can be larger than you'd expect. it's better if only 1 thread is doing the ...

Top 50 recent answers are included