export go_frankenphp_main_thread_is_ready
()
| 147 | |
| 148 | //export go_frankenphp_main_thread_is_ready |
| 149 | func go_frankenphp_main_thread_is_ready() { |
| 150 | mainThread.setAutomaticMaxThreads() |
| 151 | if mainThread.maxThreads < mainThread.numThreads { |
| 152 | mainThread.maxThreads = mainThread.numThreads |
| 153 | } |
| 154 | |
| 155 | mainThread.state.Set(state.Ready) |
| 156 | mainThread.state.WaitFor(state.Done) |
| 157 | } |
| 158 | |
| 159 | // max_threads = auto |
| 160 | // setAutomaticMaxThreads estimates the amount of threads based on php.ini and system memory_limit |
nothing calls this directly
no test coverage detected