[openbeosnetteam] Re: Yet another select() support fix. again.

> > Downside: One and only one fd/event will be return by select().
> > But if it works, it's way better than net_server select() 
support...
> 
> That's a big disadvantage... can't we just improve on your last try? 
I 
> don't think it's impossible.

Gasp.
You right, it was a silly idea and, worst, a wrong one.

I really don't like having these fd_sets duplicated in both 
net_stack_cookie and internal socket structs.
Maybe select() could share the three fd_sets bits vectors thru a 
area_id + offsets, instead?

BTW, is select() supposed to be thread-safety or not?

-Philippe.

--
Fortune Cookie Says:

The right half of the brain controls the left half of the body.  This
means that only left handed people are in their right mind.


Other related posts: