shuffle to private/public wrapper

This commit is contained in:
Colin Davidson
2023-01-06 13:33:47 -08:00
parent 50a2493fd3
commit 6ff2db47b4
7 changed files with 21 additions and 11 deletions
+2 -1
View File
@@ -703,7 +703,8 @@ get_page_size :: proc() -> int {
return page_size
}
get_processor_thread_count :: proc() -> int {
@(private)
_processor_core_count :: proc() -> int {
count : int = 0
count_size := size_of(count)
if _sysctlbyname("hw.logicalcpu", &count, &count_size, nil, 0) == 0 {