For https://github.com/wenjiegit to port SRS to Windows by [msys2](https://www.msys2.org/) or [cygwin](https://www.cygwin.com/). ## Usage 1. Download and install Cygwin [setup-x86_64.exe](https://cygwin.com/setup-x86_64.exe) 2. Select [mirror](https://cygwin.com/mirrors.html), for exmaple, aliyun `https://mirrors.aliyun.com/cygwin/` > <img width="318" alt="cygwin" src="https://user-images.githubusercontent.com/2777660/126996879-442d13d3-edbf-4588-a48d-74ac2f0c1df2.png"> 3. Install all packages for `devel` category > <img width="389" alt="cygwin2" src="https://user-images.githubusercontent.com/2777660/126997335-4934c373-6afd-48f5-973a-2867aa7dac36.png"> 4. Run application `Cygwin64 Terminal` > <img width="553" alt="cygwin3" src="https://user-images.githubusercontent.com/2777660/126998830-15c01ea4-6f8e-41de-aa05-a9ee6dd470ea.png"> 5. Clone state-threads and make it: ``` git clone https://github.com/ossrs/state-threads cd state-threads git checkout feature/windows make cygwin64-debug ```