|
|
@@ -667,8 +667,9 @@ This module is also a native module of lua, and xmake has been extended to provi
|
|
|
| [os.fscase](#osfscase) | Test if the os has a case sensitive filesystem | >= 2.1.9 |
|
|
|
| [os.term](#osterm) | Get current terminal | >= 2.7.3 |
|
|
|
| [os.shell](#osshell) | Get current shell | >= 2.7.3 |
|
|
|
-| [os.cpuinfo](#oscpuinfo) | Get cpu information | >= 2.1.5
|
|
|
-| [os.meminfo](#osmeminfo) | Get memory information | >= 2.1.5
|
|
|
+| [os.cpuinfo](#oscpuinfo) | Get cpu information | >= 2.1.5 |
|
|
|
+| [os.meminfo](#osmeminfo) | Get memory information | >= 2.1.5 |
|
|
|
+| [os.default_njob](#osdefault_njob) | Get default paralled jobs | >= 2.5.8 |
|
|
|
|
|
|
#### os.cp
|
|
|
|
|
|
@@ -1263,6 +1264,10 @@ print(os.meminfo())
|
|
|
-- }
|
|
|
```
|
|
|
|
|
|
+#### os.default_njob
|
|
|
+
|
|
|
+- Get default paralled jobs
|
|
|
+
|
|
|
### winos
|
|
|
|
|
|
The windows system operation module is a built-in module, no need to use [import](#import) to import, you can directly call its interface in the script domain.
|