Add core/hyperthread count for Windows and Linux (#5216)
Add core/hyperthread count to `core:sys/info` for Windows and Linux. TODO: Linux RISCV, Linux ARM, Darwin, and the BSDs.
This commit is contained in:
1 parent
0a6dced9da
commit
655fab7227
16 files changed
+129
-50
No files matched your search
@@ -477,7 +477,7 @@ block_mark_as_free :: proc(block: ^Block_Header) {
|
||||
}
|
||||
|
||||
@(private, no_sanitize_address)
|
||||
block_mark_as_used :: proc(block: ^Block_Header, ) {
|
||||
block_mark_as_used :: proc(block: ^Block_Header) {
|
||||
next := block_next(block)
|
||||
block_set_prev_used(next)
|
||||
block_set_used(block)
|
||||
|
||||
Reference in new issue
Block a user