20ย years, 3ย months ago
Highlights
Community contributions featured20ย years, 3ย months ago
20ย years, 3ย months ago
Are there any advantages to using an unnamed win32 event (CreateEvent) over using a volatile bool?
20ย years, 3ย months ago
I have been trying to make a small multithreaded winsock server and client to send data to each other, but I have run into a slight design problem. The setup i have now is thatโฆ
21ย years, 1ย month ago
How do online games with 1000s of players on a server handle pathfinding and collision detection? Surely it would be too expensive to do routing and collision detectioโฆ
21ย years, 5ย months ago
Latest Activity
See all in DiscussionsI am not too concerned about it churning up the processor as you describe, the main concern is transferring execution โฆ
20ย years, 3ย months ago
//shared memoryvolatile bool should_exit = false;volatile bool should_do_something = false;volatile bool done_something = false;void WaitForVolatileBool(volatile bool& mybool){ while(!mybool) { Sleep(
20ย years, 3ย months ago
The real code is something more like//shared memoryvolatile bool should_exit = false;volatile bool should_do_something = false;volatile bool done_something = false;//thread โฆ
20ย years, 3ย months ago