summaryrefslogtreecommitdiff
path: root/source/platform/platform.c
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2026-04-16 17:10:02 +0200
committernasr <nsrddyn@gmail.com>2026-04-16 17:10:02 +0200
commit8ea6a3c8621287d11296b8300029f32a27743d9a (patch)
treecd12aa5fcd3e058fa74b45705c7b82524658d444 /source/platform/platform.c
parentf430bfe8f71430032bec689bf0bbdc94ac409c22 (diff)
feature(checkpoint): checkpoint cleaning up base library
Diffstat (limited to 'source/platform/platform.c')
-rw-r--r--source/platform/platform.c12
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 @@
1internal inline void
2sleep_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}