mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Switch to atomic_bool for thread synchronisation.
This commit is contained in:
parent
5c66c21f53
commit
573a01212b
3 changed files with 7 additions and 5 deletions
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include "base.h" // For SteamItemDef_t
|
||||
|
||||
void read_items_db(std::string items_db, std::map<SteamItemDef_t, std::map<std::string, std::string>> *items, bool *is_loaded);
|
||||
#include <atomic>
|
||||
void read_items_db(std::string items_db, std::map<SteamItemDef_t, std::map<std::string, std::string>> *items, std::atomic_bool *is_loaded);
|
||||
|
||||
#endif//__ITEM_DB_LOADER_INCLUDED__
|
||||
Loading…
Add table
Add a link
Reference in a new issue