shuffle to private/public wrapper
This commit is contained in:
1 parent
50a2493fd3
commit
6ff2db47b4
7 files changed
+21
-11
No files matched your search
@@ -772,7 +772,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 {
|
||||
|
||||
Reference in new issue
Block a user