1
0
This repository has been archived on 2025-11-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ss-monorepo/P5/smt4497-P5/smt4497-p5.h
2025-10-10 02:17:07 +02:00

14 lines
509 B
C

#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);