Graphics module Initial (And some more fixes embedded)
This commit is contained in:
parent
e81449eddf
commit
6db1406d68
23 changed files with 456 additions and 31 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#include "Environment.hpp"
|
||||
#include "Map.hpp"
|
||||
|
||||
#define MAX_CALL_DEPTH_CAPTURE 16
|
||||
#define MAX_CALL_DEPTH_CAPTURE 128
|
||||
#define MAX_CALL_CAPTURES_MEM_SIZE_MB 16
|
||||
#define MAX_DEBUG_INFO_LEN 63
|
||||
#define FRAMES_TO_SKIP_START 2
|
||||
|
|
|
|||
19
Utils/public/Multithreading.hpp
Normal file
19
Utils/public/Multithreading.hpp
Normal 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);
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue