JimViebke / IslandMUD

A C++ MUD
MIT License
9 stars 3 forks source link

Add ability to safely shut down server #230

Closed JimViebke closed 7 years ago

JimViebke commented 8 years ago

Each thread needs to respond to a toggled flag and securely shut itself down. Maybe an atomic<bool>?

The main thread needs a detection mechanism (possibly join()) in order to know when each thread has finished.

JimViebke commented 8 years ago

Partially implemented with d718382.

JimViebke commented 7 years ago

Partially implemented in 154bb8b and finished in 3011ec7.