first running multithreaded version. nasty deadlock bug exists. Realizing that Perhaps I should just have each thread running a completely separate situation. Why synchronize when you don't need to?

This commit is contained in:
2025-09-08 02:23:44 -05:00
parent bd9820dd68
commit 5b53b7ff85
4 changed files with 222 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ typedef LARGE_INTEGER TimeSpan;
typedef DWORD (WINAPI *ThreadFunc)(_In_ LPVOID lpParameter);
typedef LPVOID ThreadArg;
const TimeSpan infinite_ts = { .QuadPart = LLONG_MAX };
const TimeSpan infinite_ts = { .QuadPart=LLONG_MAX };
LARGE_INTEGER _init_freq() {
LARGE_INTEGER freq;