From 3edeaf1f5280b88da6cf60ad65f9c5c5c8d508c2 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Thu, 22 May 2025 14:43:54 -0300 Subject: implement threading API --- reference/types.hh | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'reference/types.hh') 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; -- cgit v1.2.3