Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
12 lines (9 loc) · 140 Bytes

16.1.8 - swoole_cpu_num.md

File metadata and controls

12 lines (9 loc) · 140 Bytes

swoole_cpu_num

获取本机CPU核数

function swoole_cpu_num() : int;
  • 调用成功返回CPU核数,例如:
4