Turn all mutexes into critical sections

Removing all win32 mutexes and turning them into critical
sections, since mutexes in win32 are meant generally for
inter process communication, tend to be slower, and aren't
really needed for current purposes. Critical sections
are roughly equivalent to std::mutex in the c++ stl.
This commit is contained in:
luisjoseromero
2021-01-20 22:47:24 +00:00
parent df79a17dae
commit 9ddd0a841f
5 changed files with 34 additions and 74 deletions

View File

@@ -491,7 +491,7 @@ typedef struct voodoo_t
int force_blit_count;
int can_blit;
lightmutex_t* force_blit_mutex;
mutex_t* force_blit_mutex;
int use_recompiler;
void *codegen_data;