You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk/3rdparty/st-srs/tools/helloworld/helloworld.c

21 lines
318 B
C

/* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2025 The SRS Authors */
#include <stdio.h>
#include <st.h>
int main(int argc, char** argv)
{
st_init();
int i;
for (i = 0; i < 10000; i++) {
printf("#%03d, Hello, state-threads world!\n", i);
st_sleep(1);
}
return 0;
}