Swoole主要调用方法

main
    swServer_init
    swServer_add_port
    swServer_create
        swReactorThread_create
            swFactoryProcess_create
    swServer_start
        swFactoryProcess_start(factory->start)
            swManager_start
                swManager_spawn_worker
                    swWorker_loop
                        main_reactor->wait
                swManager_loop
        swServer_start_proxy
            swReactorThread_start
                swReactorThread_loop
                    reactor->wait
            main_reactor->wait(swServer_master_onAccept)