os: refactor/rewrite entire namespace.

This commit is contained in:
Michael Scire 2020-04-08 02:21:35 -07:00
parent 6193283f03
commit 065485b971
181 changed files with 5353 additions and 1929 deletions

View file

@ -22,7 +22,7 @@ namespace ams::hos {
hos::Version g_hos_version;
bool g_has_cached;
os::Mutex g_mutex;
os::Mutex g_mutex(false);
void CacheValues() {
if (__atomic_load_n(&g_has_cached, __ATOMIC_SEQ_CST)) {