mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
ST: Support Cygwin64 and MIPS
This commit is contained in:
parent
7d3ec991e1
commit
1836847269
29 changed files with 1116 additions and 105 deletions
19
trunk/3rdparty/st-srs/tools/helloworld/helloworld.c
vendored
Normal file
19
trunk/3rdparty/st-srs/tools/helloworld/helloworld.c
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* 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;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue