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: philippe.houdoin@xxxxxxx
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Tue, 02 Apr 2002 15:12:54 +0200 (MEST)
> 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.