Minor fixes for OSX: stub for debug_set_thread_name, changed name for os_cpu_CallByEachCPU and changed header path for os-sysdeps
This was SVN commit r6207.
This commit is contained in:
parent
3be2bfa7ac
commit
875260f60a
@ -1,6 +1,7 @@
|
||||
#include "precompiled.h"
|
||||
|
||||
#include "../cpu.h"
|
||||
#include "lib/sysdep/os_cpu.h"
|
||||
#include "lib/bits.h"
|
||||
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
@ -96,7 +97,7 @@ uintptr_t os_cpu_SetThreadAffinityMask(uintptr_t processorMask)
|
||||
}
|
||||
|
||||
|
||||
LibError cpu_CallByEachCPU(OsCpuCallback cb, uintptr_t cbData)
|
||||
LibError os_cpu_CallByEachCPU(OsCpuCallback cb, uintptr_t cbData)
|
||||
{
|
||||
for(size_t processor = 0; processor < os_cpu_NumProcessors(); processor++)
|
||||
{
|
||||
|
@ -21,4 +21,7 @@ LibError debug_resolve_symbol(void* UNUSED(ptr_of_interest), char* UNUSED(sym_na
|
||||
return ERR::NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
void debug_set_thread_name(char const* UNUSED(name))
|
||||
{
|
||||
// Currently unimplemented
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user