projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Installer import into contrib (real import this time)
[dragonfly.git]
/
contrib
/
bsdinstaller-1.1.6
/
src
/
backend
/
lua
/
scripts
/
test
/
clock.lua
1
-- $Id: clock.lua,v 1.1 2005/02/01 21:58:24 cpressey Exp $
2
3
for i = 1, 30 do
4
print("Waiting " .. (i * 50000000) .. " nanoseconds ...")
5
Clock.nanosleep(0, i * 50000000)
6
end
7
8
for i = 1, 30 do
9
print("Waiting " .. (i * 0.05) .. " seconds ...")
10
Clock.nanosleep(i * 0.05)
11
end