epoll patch - status?

Shachar Shemesh wine-devel at shemesh.biz
Thu Sep 9 01:18:28 CDT 2004


Mike McCormack wrote:

> Shachar Shemesh wrote:
>
>> Read the comment in the appropriate section of my code. You have a 
>> race here that will crash you occasionally.
>
> Fixed.

Ahmm. I'm not so sure.

Did you also handle the case where 1, 2 and 3 were flagged, 1 releases 
3, and 2 asks for a new fd and receives 3?

Don't forget that if 2 asks for a new fd, it will certainly receive 3, 
because of the way the free list is managed.

          Shachar

-- 
Shachar Shemesh
Lingnu Open Source Consulting ltd.
http://www.lingnu.com/




More information about the wine-devel mailing list