Lightweight thread library for C/C++ coroutine (similar to goroutine), for high performance network servers.
# state-threads

![](http://ossrs.net:8000/gif/v1/sls.gif?site=github.com&path=/srs/st)
[![](https://cloud.githubusercontent.com/assets/2777660/22814959/c51cbe72-ef92-11e6-81cc-32b657b285d5.png)](https://github.com/ossrs/srs/wiki/v1_CN_Contact#wechat)

fork from http://sourceforge.net/projects/state-threads, nothing changed.<br/>
see: https://github.com/ossrs/state-threads/blob/master/README

For SRS, ST is patched for ARM/VALGRIND, please checkout the [ST srs branch](https://github.com/ossrs/state-threads/tree/srs).

## License

The State Threads library is a derivative of the Netscape Portable Runtime library (NSPR) and therefore is distributed under the Mozilla Public License (MPL) version 1.1 or the GNU General Public License (GPL) version 2 or later.

You can choose which of the two licenses you want or you can continue the dual license. `Commercial interests probably will choose the MPL`, and free software advocates likely will prefer the GPL.

For more information, please read [LICENSE](http://state-threads.sourceforge.net/license.html) of ST.
