diff options
| author | nasr <nsrddyn@gmail.com> | 2026-04-16 17:10:02 +0200 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-04-16 17:10:02 +0200 |
| commit | 8ea6a3c8621287d11296b8300029f32a27743d9a (patch) | |
| tree | cd12aa5fcd3e058fa74b45705c7b82524658d444 /source/platform/platform.c | |
| parent | f430bfe8f71430032bec689bf0bbdc94ac409c22 (diff) | |
feature(checkpoint): checkpoint cleaning up base library
Diffstat (limited to 'source/platform/platform.c')
| -rw-r--r-- | source/platform/platform.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source/platform/platform.c b/source/platform/platform.c deleted file mode 100644 index 2e7bbad..0000000 --- a/source/platform/platform.c +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | internal inline void | ||
| 2 | sleep_ms(long ms) | ||
| 3 | { | ||
| 4 | struct timespec ts; | ||
| 5 | ts.tv_sec = ms / 1000; | ||
| 6 | ts.tv_nsec = (ms % 1000) * 1000000L; | ||
| 7 | |||
| 8 | while (nanosleep(&ts, &ts)) | ||
| 9 | { | ||
| 10 | NULL; | ||
| 11 | } | ||
| 12 | } | ||
