Thread

aw_wait() (Sdk)

aw_wait() // Sdk

1  |  

agent1

Jun 12, 2000, 7:35pm
Is the aw_wait function guarateed to run at a certain speed?
EX:
Would aw_wait(1000) wait for one second in almost all instances?

-Agent1

faber

Jun 14, 2000, 3:44pm
No.

aw_wait() passes the given value to the system call select(), which returns earlier than specified
if anything happens on the sockets its applied to. Since I doubt that aw_wai() issues another
select() for the remaining time, you can expect aw_wait() to return earlier whenever the is any
activity around your bot avatar. (earlier as in not even close to the given time).

Only in complete quiet areas it might reach the 1000. But even then do not expect accuracy from it.

Faber






[View Quote]

agent1

Jun 14, 2000, 6:29pm
Thanks :)

-Agent1


[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn