forked from AbleOS/ableos
12 lines
167 B
Plaintext
12 lines
167 B
Plaintext
stn := @use("stn");
|
|
.{sleep, log, memory} := stn
|
|
|
|
main := fn(): int {
|
|
loop {
|
|
log.info("BEFORE")
|
|
sleep.sleep_until_interrupt(8)
|
|
log.info("AFTER")
|
|
}
|
|
|
|
return 0
|
|
} |