eio_nthreads
(PECL eio >= 0.0.1dev)
eio_nthreads — Returns number of threads currently in use
說明
eio_nthreads(): int
參數
此函式沒有參數。
返回值
eio_nthreads() returns number of threads currently in use.
參見
- eio_npending() - Returns number of finished, but unhandled requests
- eio_nready() - Returns number of not-yet handled requests
- eio_nreqs() - Returns number of requests to be processed
- eio_set_max_idle() - Set maximum number of idle threads
- eio_set_max_parallel() - Set maximum parallel threads
- eio_set_min_parallel() - Set minimum parallel thread number