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: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Fri, 09 Aug 2002 19:06:25 CEST (+0200)
Philippe wrote:
> The "ref" is a magic number:
> fd of the socket selected() << 8 | select event to monitor (read = 1, 
> write = 2, exception = 3). I pass it to net_stack_[de]select() via 
ioctl().
> In fact, BONE select() send a similar build 'ref' value ;-)

I see.

> That way, by looking at sem count, I could know which fd and on what 
> event 
> wakeup select(). Without needing to pass any fd_set data to kernel 
> land!
> 
> 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.

Adios...
   Axel.







[ 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.