- 
                Notifications
    
You must be signed in to change notification settings  - Fork 277
 
Closed
Description
For WebRTC or UDP transport system, multiple threads or CPUs is essential important, please read ossrs/srs#2188
The first step, is to simplify the state-threads. We should remove the dead code for UDP server:
- Remove multiple OS support, only for Linux(CentOS,Ubuntu,etc) and Darwin(macOS).
 - Remove the examples and extensions.
 - Remove the poll support, only Linux epoll and Darwin kqueue.
 - Remove the support for multiple processes, for single process only.
 - Stack always grows from top to down.
 - Remove the deprecated serialize accept.
 
Then, we should use gcc __thread for multiple threads:
- Support gtest and gocv/gcovr coverage analysis.
 - Change all global or static variables to __thread, see toffaletti befca4dfbd, 9b617a6a02, f0ebf18d8f, 527931ce8e.
 - Add utest for threads and codes. #31
 
Metadata
Metadata
Assignees
Labels
No labels