W7 done done

This commit is contained in:
root
2026-06-15 11:06:35 +00:00
parent 1743c51e46
commit abcb66717e
14 changed files with 207 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
:sig
int usleep(unsigned int usec)
:params
usec : microseconds to sleep
return value : `0` after sleeping
:see
>time
sleep
:content
Pauses the current request or task for a number of microseconds.
Use this for short waits in local tests, polling loops, or background tasks. Avoid long sleeps in normal HTTP render paths because they hold a worker process for the duration.
Example:
```uce
usleep(250000); // 0.25 seconds
```
For whole-second waits, use `sleep()`.