mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-20 17:51:02 +00:00
Move MAX_THREADS as define to BuildDefines.h
This commit is contained in:
parent
1a25b165b0
commit
5a052e846f
3 changed files with 4 additions and 2 deletions
|
@ -147,3 +147,7 @@ DOOM III gold: 33
|
|||
// special game init ids
|
||||
#define GAME_INIT_ID_INVALID (-1)
|
||||
#define GAME_INIT_ID_MAP_LOAD (-2)
|
||||
|
||||
// threads
|
||||
|
||||
#define MAX_THREADS (10)
|
||||
|
|
|
@ -52,7 +52,6 @@ thread create and destroy
|
|||
*/
|
||||
|
||||
// not a hard limit, just what we keep track of for debugging
|
||||
#define MAX_THREADS 10
|
||||
xthreadInfo *g_threads[MAX_THREADS];
|
||||
|
||||
int g_thread_count = 0;
|
||||
|
|
|
@ -372,7 +372,6 @@ typedef struct {
|
|||
size_t threadId;
|
||||
} xthreadInfo;
|
||||
|
||||
const int MAX_THREADS = 10;
|
||||
extern xthreadInfo *g_threads[MAX_THREADS];
|
||||
extern int g_thread_count;
|
||||
|
||||
|
|
Loading…
Reference in a new issue