Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [08-2002 Date Index] [Date Next] || [Thread Prev] [08-2002 Thread Index] [Thread Next]

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

  • From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Fri, 9 Aug 2002 20:56:59 +0200 (added by postmaster@wanadoo.fr)
> > 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.






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.