RpcServerListen and RpcMgmtWaitServerListen

Robert Shearman rob at codeweavers.com
Wed Dec 7 13:14:10 CST 2005


Phil Lodwick wrote:

>Hi,
>
>I have a program that basically does:
>
>	RpcServerUseProtseqEp
>	RpcServerRegisterIf
>	RpcServerListen(DontWait=FALSE)
>
>On Windows this will block until another thread calls
>RpcMgmtStopServerListening.
>
>This does not appear to be the case with Wine's implementation.  Before I
>start to dig in and investigate, I was wondering if this is already a
>well-known problem.
>  
>

This was a known problem to me, but not one I was intending to fix any 
time soon. The bug is in RpcMgmtWaitServerListen. It should wait on some 
synchronisation object, which RpcMgmtStopServerListening should signal.

-- 
Rob Shearman




More information about the wine-devel mailing list