Go to the FreeLists Home Page Home Signup Help Login
 



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

[openbeosnetteam] Re: Ping & timers...

  • From: "David Reid" <dreid@xxxxxxxxxxxx>
  • To: <openbeosnetteam@xxxxxxxxxxxxx>
  • Date: Tue, 2 Apr 2002 14:39:23 +0100
Yeah, I knew there was a way of doing it, and knew there was a function that
did it, but my 20 minutes looking didn't find it... :)

Thanks for pointing this out! Now, if it all works we'll be much closer to
having a working ping...

Sorry for the false alarm. Nice to know there are still people alive on the
list though :)

Any progress on how we use the variables passed into select yet?

david

----- Original Message -----
From: <philippe.houdoin@xxxxxxx>
To: <openbeosnetteam@xxxxxxxxxxxxx>
Sent: Tuesday, April 02, 2002 2:12 PM
Subject: [openbeosnetteam] Re: Ping & timers...


> > The ping application uses setitimer and friends...
> > For those who are unaware it's a function in unix land that allows you
> > to specify a timeout and then have a SIGALRM sent to the process.
> > Now, before i go mad and write all sorts of code anyone else want to
> > take this on?
> > We basically either need a replacement or an alternative method.
>
> What about BeOS's set_alarm()?
>
> file:///boot/develop/headers/be/kernel/OS.h:
>
> extern _IMPEXP_ROOT bigtime_t set_alarm(bigtime_t when, uint32 flags);
>
> Funny enough, you've posted a PostgreSQL BeOS patch using this function in
> replacement of setitimer, search on "setitimer beos" on Google ;-)
>
> -Philippe.
>
>






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