mirror of https://github.com/ossrs/srs.git
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.
20 lines
297 B
C
20 lines
297 B
C
3 years ago
|
/* SPDX-License-Identifier: MIT */
|
||
|
/* Copyright (c) 2021 Winlin */
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include <st.h>
|
||
|
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
st_init();
|
||
|
|
||
|
for (int i = 0; i < 10000; i++) {
|
||
|
printf("#%03d, Hello, state-threads world!\n", i);
|
||
|
st_sleep(1);
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|