2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: DCE/RPC for Reactos
4 * FILE: lib/rpcrt4/srv/listen.c
5 * PURPOSE: Listener functions
6 * PROGRAMMER: David Welch <welch@cwcom.net>
9 /* INCLUDES ******************************************************************/
11 /* TYPES *********************************************************************/
17 /* GLOBALS *******************************************************************/
19 #define NR_MAX_LISTENERS (255)
21 static HANDLE ListenerMutex
;
22 static ULONG InServerListen
;
24 /* FUNCTIONS *****************************************************************/
26 static DWORD
RpcListenerThread(PVOID Param
)
31 BOOL
RpcInitListenModule(VOID
)
33 ListenerMutex
= CreateMutex(NULL
,
36 if (ListenMutex
== NULL
)
44 RPC_STATUS
RpcServerListen(unsigned int MinimumCallThreads
,
45 unsigned int MaxCalls
,
46 unsigned int DontWait
)