1
0
forked from 0ad/0ad

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:
Simon Brenner 2008-07-06 19:52:55 +00:00
parent 3be2bfa7ac
commit 875260f60a
2 changed files with 7 additions and 3 deletions

View File

@ -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++)
{

View File

@ -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
}