From ae56293b27c0e4d7c111fbe9689d1ff4e2857db4 Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 31 Oct 2020 11:30:58 +0800 Subject: [PATCH] Research: Add simple ST --- trunk/research/frame/st0.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 trunk/research/frame/st0.cpp diff --git a/trunk/research/frame/st0.cpp b/trunk/research/frame/st0.cpp new file mode 100644 index 000000000..fad8ca94c --- /dev/null +++ b/trunk/research/frame/st0.cpp @@ -0,0 +1,14 @@ +/* +g++ st0.cpp ../../objs/st/libst.a -g -O0 -o st && ./st +*/ +#include +#include "../../objs/st/st.h" + +int main(int argc, char** argv) { + st_init(); + for (;;) { + st_usleep(1000 * 1000); + } + return 0; +} +