Thanks for pointing me this stupid mistake. The correct patch is attached.
Is there anybody that can give more details on the possible problems of
doing set_event twice in the same handler mentionned by Ove's mail?
If it's a problem, I guess I can check if the event is signaled before
seting it, but I haven't see any code doing this kind of stuff in the
server.
Stef.
> -----Original Message-----
> From: Ove Kaaven [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 28, 2000 10:42 AM
> To: Stephane Lussier
> Cc: wine-patches
> Subject: Re: socket patch, for network events not being signaled.
>
>
>
> On Wed, 28 Jun 2000, Stephane Lussier wrote:
>
> > + if (sock->pmask && sock->mask)
> > + set_event(sock->event);
>
> Well, at least you could have used the binary operator (&) instead of the
> logical one (&&)...
>
> But note that I also seem to recall certain problems in the wineserver if
> set_event is called on some event objects (don't remember if it was manual
> reset or automatic reset) twice in the same handler, so perhaps you should
> verify that this won't happen.
>
>
set_socket_event.diff