Graphics module Initial (And some more fixes embedded)

This commit is contained in:
IlushaShurupov 2023-07-23 10:51:21 +03:00
parent e81449eddf
commit 6db1406d68
23 changed files with 456 additions and 31 deletions

View file

@ -0,0 +1,19 @@
#pragma once
#include <pthread.h>
namespace tp {
class Mutex {
pthread_mutex_t mMutex {};
public:
Mutex() = default;
void lock() {
pthread_mutex_lock(&mMutex);
}
void unlock() {
pthread_mutex_unlock(&mMutex);
}
};
}