Solved: bug in tcp/ip on windows
Filip Konvička
filip.konvicka.removethisantispamtoken at logis.cz
Fri Dec 16 12:13:04 CET 2005
>> So, if I understand right, with this you would solve the problem
>> related with Error nr 9: Bad filedescriptor. Am I right?
>
>
> yes, it solves this error. However, I feel that it is a workaround
> rather than a solution (therefore I suggest using something like std:set
> rather than fd_set).
I'm still getting this error now and then, esp. under heavy CPU load. I
think we must totally restrain from using fd_set.
I'd like to fix it myself but I don't know what data structure to use. I
was thinking of a hashset, but since Mozart does not use Boost nor C++
std lib, I was looking for a hashtable in the current Mozart sources.
There seems to be something in hashtbl.hh, but it seems too much
complicated at the first glance, so maybe BucketHashTable
(bucketHashTable.hh), but this does not seem to be used anywhere in the
source tree... what do you suggest?
Thanks,
Filip
More information about the mozart-hackers
mailing list