aboutsummaryrefslogtreecommitdiff
path: root/reference/types.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-05-22 14:43:54 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-05-22 14:44:31 -0300
commit3edeaf1f5280b88da6cf60ad65f9c5c5c8d508c2 (patch)
tree1cb1505304bdfe6b6115296340e92765e2421f63 /reference/types.hh
parent297e8450d80411d81f0aaeee642053354125bd6d (diff)
downloadgame-3edeaf1f5280b88da6cf60ad65f9c5c5c8d508c2.tar.gz
game-3edeaf1f5280b88da6cf60ad65f9c5c5c8d508c2.zip
implement threading API
Diffstat (limited to 'reference/types.hh')
-rw-r--r--reference/types.hh13
1 files changed, 0 insertions, 13 deletions
diff --git a/reference/types.hh b/reference/types.hh
index 5bfc014..bee9117 100644
--- a/reference/types.hh
+++ b/reference/types.hh
@@ -96,12 +96,6 @@ struct TDatabasePoolConnection {
bool TransactionRunning;
};
-struct Semaphore {
- int value;
- struct pthread_mutex_t mutex;
- struct pthread_cond_t condition;
-};
-
struct TDatabaseConnectionPool {
int NumberOfConnections;
struct TDatabaseSettings DatabaseSettings;
@@ -786,13 +780,6 @@ struct TFindCreatures {
bool finished;
};
-typedef int (ThreadFunction)(void *);
-struct TThreadStarter {
- ThreadFunction *Function;
- void *Argument;
- bool Detach;
-};
-
struct TReaderThreadOrder {
enum TReaderThreadOrderType OrderType;
int SectorX;