georgbuechner / dissonance

A command line and keyboard based strategy-game written in c++, where audio-input determines the AI-strategy and lays the seed for the map-generation.
GNU General Public License v3.0
32 stars 3 forks source link

Problems with websocket-server while sending/ analyzing data #96

Closed georgbuechner closed 2 years ago

georgbuechner commented 2 years ago

Some different errors accure:

This might have several reasons which should be checked:

georgbuechner commented 2 years ago

While audio is analyzing, the shared-mutex games_ in websocket-server is blocked (as with every in-game action). For this reason, all other in-game actions (like running games) can continue without any problems, but some other actions (all where a unique-lock is applied) are blocked: