1
0
This commit is contained in:
2025-10-10 02:17:07 +02:00
commit ee9f86004b
48 changed files with 2161 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
#include <windows.h>
#include <thread>
#include <stdio.h>
#include <sslib\SSLib.h>
#include <locale.h>
VOID simple_non_reentrant_thread(int times, int* pCounter);
VOID simple_non_reentrant_thread_mutex(int times, int* pCounter);
static BOOL test_simple_non_reentrant_thread(int increments, int threads_number);
static BOOL test_simple_non_reentrant_thread_mutex(int increments, int threads_number);
static VOID thread_turns(int thread_number);
static VOID test_thread_turns(int thread_numbers);