Subversion Repositories Tewi

Rev

Rev 398 | Rev 402 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 398 Rev 401
Line 1... Line 1...
1
/* $Id: server.c 398 2024-10-28 00:11:59Z nishi $ */
1
/* $Id: server.c 401 2024-11-03 06:16:35Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 1021... Line 1021...
1021
#ifndef USE_POLL
1021
#ifndef USE_POLL
1022
	fd_set fdset;
1022
	fd_set fdset;
1023
	struct timeval tv;
1023
	struct timeval tv;
1024
#endif
1024
#endif
1025
#if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__) && !defined(__DOS__))
1025
#if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__) && !defined(__DOS__))
1026
	struct thread_entry threads[2048];
1026
	struct thread_entry threads[128];
1027
	for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) {
1027
	for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) {
1028
		threads[i].used = false;
1028
		threads[i].used = false;
1029
	}
1029
	}
1030
#endif
1030
#endif
1031
#ifdef USE_POLL
1031
#ifdef USE_POLL