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 -2
View File
@@ -127,7 +127,8 @@ get_page_size :: proc() -> int {
return page_size
}
get_processor_thread_count :: proc() -> int {
@(private)
_processor_core_count :: proc() -> int {
length : c.int = 0
result := win32.GetLogicalProcessorInformation(nil, &length)
@@ -149,7 +150,6 @@ get_processor_thread_count :: proc() -> int {
return thread_count
}
exit :: proc "contextless" (code: int) -> ! {
runtime._cleanup_runtime_contextless()
win32.ExitProcess(win32.DWORD(code))